|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
Assuming this is th same function: Upon successful completion, recvfrom() returns the length of the message in bytes. If no messages are available to be received and the peer has performed an orderly shutdown, recvfrom() returns 0. Otherwise the function returns -1 and sets errno to indicate the error. Taken from: http://www.opengroup.org/onlinepubs/007908799/xns/recvfrom.html Rob ----- Original Message ----- From: "Kevin Jenkins" <gameprogrammer@rakkar.org> To: <gameprogrammer@freelists.org> Sent: Wednesday, June 23, 2004 7:16 AM Subject: [gameprogrammer] recvfrom returning 0 on UDP and blocking > Why would recvfrom, on UDP and blocking, ever return 0? > > > --------------------- > To unsubscribe go to http://gameprogrammer.com/mailinglist.html > > > --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html
|
|