Compartilhar via


WSANETWORKEVENTS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This 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
    An 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 other can be used to index the iErrorCode array.

Requirements

Header winsock2.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WSAEnumNetworkEvents
WSAEventSelect