Re: Resource temporarily unavailable

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

 




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

If the packet is coming-in..i would then check (netstat -s | more) and see
if under udp if it says " X#of packet receive errors".

what i am trying to say is..u could get this error bcoz the sender is
screwing-up with the packet(like computing the checksum incorrectly)..

U can try my programs 

http://www.cs.pdx.edu/~sashi/codeSnippets/sendOneUdp.c
http://www.cs.pdx.edu/~sashi/codeSnippets/udpserver.c


-Sashi.


On Thu, 5 Dec 2002, Marcos Fereyra wrote:

> Hello everybody,
> 	I am running my first networking programms and I have an error I don't
> understand. I open a UDP socket but when I do a recvfrom it returns -1
> and strerror(errno)  displays "Resource temporarily unavailable". I
> havent changed the default blocking/non-blocking policy and I thought it
> would just stay waiting until some data arrived to the socket.
> 
> 	Do tou know what is my problem?
> 
> Thank you in advence
> 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
> 

-
: 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