Re: Resource temporarily unavailable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank for your answer.

> Can you see the packet coming-in through tcpdump ( tcpdump -n -i eth0
> udp).

There are no coming-in packets yet, theres nobody sending packets.
Shouldn't recvfrom() block until something arrives at the socket?

> U can try my programs 

Thank you. I read them, but I am doing my first steps in net programming
and my code is too simple. It just opens a socket(AF_INET,DGRAM,0) then
it bind() to the local address, then it connect() to the destination
address. I know this last step is not necessary, but according to Unix
Network Programmming by R Stevens there should be no problem in doing
so. Then it tries to recvfrom() and I start getting thos messages.

Marcos.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux