WSK_CLIENT_DATAGRAM_DISPATCH structure (wsk.h)

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

Syntax

typedef struct _WSK_CLIENT_DATAGRAM_DISPATCH {
  PFN_WSK_RECEIVE_FROM_EVENT WskReceiveFromEvent;
} WSK_CLIENT_DATAGRAM_DISPATCH, *PWSK_CLIENT_DATAGRAM_DISPATCH;

Members

WskReceiveFromEvent

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

Remarks

A WSK application passes a pointer to a WSK_CLIENT_DATAGRAM_DISPATCH structure to the WSK subsystem when the WSK application calls the WskSocket function to create a datagram 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_DATAGRAM_DISPATCH

WskReceiveFromEvent

WskSocket