 |
WSAEventSelect ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The WSAEventSelect function specifies an event object to be associated with the specified set of FD_XXX network events. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
int WSAEventSelect(
SOCKET s,
WSAEVENT hEventObject,
long lNetworkEvents
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER WSAEventSelect IN ws2_32;
INTEGER s,;
INTEGER hEventObject,;
INTEGER lNetworkEvents
|
 |
 |
 |
| Parameters: |
 |
s
[in] Descriptor identifying the socket.
hEventObject
[in] Handle identifying the event object to be associated with the specified set of FD_XXX network events.
lNetworkEvents
[in] Bitmask that specifies the combination of FD_XXX network events in which the application has interest. |
 |
 |
| Return value: |
 |
| The return value is zero if the application"s specification of the network events and the associated event object was successful. Otherwise, the value SOCKET_ERROR is returned, and a specific error number can be retrieved by calling WSAGetLastError. |
 |
 |
| Word Index links for the WSAEventSelect : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-02-12 16:36:24 | | Modified: | 2003-02-12 16:38:45 | Visited in last 7 days: 23 |