"Resource temporarily unavailable": a firewall issue?

From: Doru-Catalin Togea (doru-cat_at_ifi.uio.no)
Date: 07/27/04


Date: Tue, 27 Jul 2004 16:07:32 +0200

Hi!

I have some simple client and server programs which use UDP sockets. They
worked under RH9 (2.4.20) but do not work with FC2 (2.6.7), the client
bloking on the recvfrom() call while the sender repeatedly sends data.

Considering my code is lousy, I have rewritten the apps using Qt's
QSocketDevices, with the same result.

The receiver generates the "Resource temporarily unavailable" error.

Some googleing made me look at the output of "netstat -s | more" which for
UDP is:

Udp:
    731 packets received
    26 packets to unknown port received.
    0 packet receive errors
    1298 packets sent

For each time I ran the server I can see the counter of the packets sent
being increased, while the other numbers remain unchainged.

Upon installation of FC2 I have enabled those firewall settings which the
installation programme suggested. Are they to be blamed? Both my client
and my server run locally, on 127.0.0.1:5000.

Any idea?
Thanks,
Catalin

-- 
        <<<< ================================== >>>>
        <<     We are what we repeatedly do.      >>
        <<  Excellence, therefore, is not an act  >>
        <<             but a habit.               >>
        <<<< ================================== >>>>


Relevant Pages

  • Re: hello, where can i get a great example which demostrates how to wirte a high preformance, scalab
    ... UDP is designed to break up its ... packets in the right order and to ask for missing packets it did not ... A better design is to make a TCP server that acts like passive FTP -- ...
    (microsoft.public.windows.server.networking)
  • "Resource temporarily unavailable": a firewall issue?
    ... I have some simple client and server programs which use UDP sockets. ... 26 packets to unknown port received. ...
    (comp.os.linux.development.apps)
  • Re: How to know server is alive?
    ... packets,so how can I know that whether the UDP server to which I am ... Or someone sent you a UDP datagam with the IP source address spoofed ... Your gateway router prevents packets claiming to be from your ... Routers on the internet at large ...
    (comp.unix.programmer)
  • Re: Subnet and address translation
    ... Now these machines are sending some packets to a outside UDP ... > Can anybody tell me, while receiving packets from server, how the ... > corporate connection will be deciding that which packet belongs to ...
    (comp.unix.programmer)
  • Re: Subnet and address translation
    ... Now these machines are sending some packets to a outside UDP ... > Can anybody tell me, while receiving packets from server, how the ... > corporate connection will be deciding that which packet belongs to ...
    (comp.os.linux.networking)