1. Re: Non-blocking sockets

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

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu