[gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
- From: "Rob Quill" <rjquill@xxxxxxxxxx>
- To: <gameprogrammer@xxxxxxxxxxxxx>
- Date: Wed, 23 Jun 2004 19:23:12 +0100
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@xxxxxxxxxx>
To: <gameprogrammer@xxxxxxxxxxxxx>
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
- Follow-Ups:
- [gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
- From: Kevin Jenkins
- References:
- [gameprogrammer] brightness & contrast
- From: ashwin . krishnakumar
- [gameprogrammer] recvfrom returning 0 on UDP and blocking
- From: Kevin Jenkins
Other related posts:
- » [gameprogrammer] recvfrom returning 0 on UDP and blocking
- » [gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
- » [gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
- » [gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
- » [gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
- [gameprogrammer] Re: recvfrom returning 0 on UDP and blocking
- From: Kevin Jenkins
- [gameprogrammer] brightness & contrast
- From: ashwin . krishnakumar
- [gameprogrammer] recvfrom returning 0 on UDP and blocking
- From: Kevin Jenkins