WSK_CLIENT_LISTEN_DISPATCH structure (wsk.h)

The WSK_CLIENT_LISTEN_DISPATCH structure specifies a WSK application's dispatch table of event callback functions for a listening socket.

Syntax

typedef struct _WSK_CLIENT_LISTEN_DISPATCH {
  PFN_WSK_ACCEPT_EVENT  WskAcceptEvent;
  PFN_WSK_INSPECT_EVENT WskInspectEvent;
  PFN_WSK_ABORT_EVENT   WskAbortEvent;
} WSK_CLIENT_LISTEN_DISPATCH, *PWSK_CLIENT_LISTEN_DISPATCH;

Members

WskAcceptEvent

A pointer to the WSK application's WskAcceptEvent event callback function for the socket. If the WSK application does not enable the WskAcceptEvent event callback function for the socket, this pointer can be NULL.

WskInspectEvent

A pointer to the WSK application's WskInspectEvent event callback function for the socket. If the WSK application does not enable conditional accept mode for the socket, this pointer can be NULL.

WskAbortEvent

A pointer to the WSK application's WskAbortEvent event callback function for the socket. If the WSK application does not enable conditional accept mode for the socket, this pointer can be NULL.

Remarks

A WSK application passes a pointer to a WSK_CLIENT_LISTEN_DISPATCH structure to the WSK subsystem when the WSK application calls the WskSocket function to create a listening socket.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header wsk.h (include Wsk.h)

See also

WSK_PROVIDER_LISTEN_DISPATCH

WskAbortEvent

WskAcceptEvent

WskInspectEvent

WskSocket