[SDL] How to know when SDLNet_TCP_Recv has no more data available, or how to specify timeout for it?

DARKGuy . dark.guy.2008 at gmail.com
Sun Oct 7 17:02:53 PDT 2007


Yeah, is there a way to specify a timeout for SDLNet_TCP_Recv, or how to
know when there's no more data, so SDLNet_TCP_Recv doesn't stay waiting for
data to arrive? I'm thinking in using SDL threads, but I'm still not sure
how do I apply them in my case...

I've also tried to search in google but I haven't found any info about
applying a timeout either by SDL_Net or by threads...

Any help is greatly appreciated! :D

- DARKGuy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20071007/012d3ee7/attachment.htm 


More information about the SDL mailing list