Closed GoogleCodeExporter closed 9 years ago
In what scenario do you use this code? Please note that receive() works
*exactly* as
recvfrom(2) with no additional flags, i.e. if there is no message available,
this
call blocks. From this point of view, the reported behavior looks rather like a
feature and not a bug.
Original comment by ondrej.zara
on 17 Nov 2009 at 1:38
[deleted comment]
You right. It works like it should. It was my misunderstanding. Sorry for
taking your
time. Please delete this issue.
Original comment by neoco...@gmail.com
on 17 Nov 2009 at 7:01
Original comment by ondrej.zara
on 17 Nov 2009 at 8:17
So how would one create a non-blocking socket? I am having trouble with this as
the connection I'm using is being kept alive by the server until explicitly
killed by the client.
Original comment by me%stuar...@gtempaccount.com
on 13 Jul 2010 at 5:03
As far as I know, there is no way to do this at the moment. What API do you
propose? Some kind of fcntl(), or as an option to receive()?
Original comment by ondrej.zara
on 13 Jul 2010 at 6:37
Original issue reported on code.google.com by
neoco...@gmail.com
on 17 Nov 2009 at 11:33