WSAAsyncSelect for Linux/Unix ??
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Swapnil_Bandekar
Posted On:   Thursday, April 5, 2001 12:07 AM

"WSAAsynSelect" offered by winsock in Win32 SDK for which offers you to register your socket events to OS so that whenever that event occurs OS (Windows) will redirect it to your application. This helps as your application no need to wait ifinitely or in a blocking mode for resceiving the packect from the peer process. Whenever that network event occurs Windows will redirect it to you. Is there any similar call like WSAAsyncSelect for Linux/Unix? :)

Re: WSAAsyncSelect for Linux/Unix ??

Posted By:   Nathan_Meyers  
Posted On:   Thursday, April 5, 2001 08:55 PM

It sounds like you're talking about the select() and
poll() calls. Either one
allows you to poll or wait for input, output, and error
events on any number of file descriptors (including
sockets).

These calls are available to native programs; you
cannot get to them from Java, although JDK1.4 is
supposed to offer similar functionality.

About | Sitemap | Contact