Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

WSANETWORKEVENTS structure

The WSANETWORKEVENTS structure is used to store a socket's internal information about network events.

Syntax


typedef struct _WSANETWORKEVENTS {
  long lNetworkEvents;
  int  iErrorCode[FD_MAX_EVENTS];
} WSANETWORKEVENTS, *LPWSANETWORKEVENTS;

Members

lNetworkEvents

Indicates which of the FD_XXX network events have occurred.

iErrorCode

Array that contains any associated error codes, with an array index that corresponds to the position of event bits in lNetworkEvents. The identifiers FD_READ_BIT, FD_WRITE_BIT and others can be used to index the iErrorCode array.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winsock2.h

See also

WSAEnumNetworkEvents
WSAEventSelect

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.