Re: Non-blocking sockets
- Posted by Irv Mullins <irvm at ellijay.com> Apr 18, 2002
- 415 views
Thomas Parslow wrote: > Has anyone done any work on non-blocking (asynchronous) sockets in Linux? I > 'd like to port some stuff to Linux but it won't work with blocking > sockets... -- PORT MODE PARAMS; F_SETFL = 4, O_NONBLOCK = 04000 \\ ------------------------------------ -- set port to non-blocking mode; -- ------------------------------------ result = c_func(fcntl,{SOCKET, F_SETFL, O_NONBLOCK}) This was taken from my Eumail Reader, http://take.maxleft.com/custom.html Regards, Irv