Determining the Status of One or More Sockets

You can use the select function to determine the status of one or more sockets in a set. For each socket, the caller can request information on read, write, or error status. The fd_set structure indicates a set of sockets.

Winsock allows an application to use more than one service provider, but the select function is limited to a set of sockets associated with a single service provider. This limitation does not restrict an application from having multiple sockets open through multiple providers.

See Also

Multiple Transport Protocols

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.