Hello,

I have the impression that the sdasync function (socket) has no equivalent
under unix. In labs, it is said to use sdselect under unix but sdselect
enables only to see if there is something to do when it is called or when
the timer has not expired yet. But sdasync enables to awake the thread of
the service when there is something new. It is totally different. So for me
there is no means to use non-blocking sockets under unix. Am I wrong ?
The equivalent of sdasync would be something like :
while.  0=#read *. 0=#write *. 0=#error do. 'read write error'=. sdselect ''
end.

Thanks
Bye
Damien.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to