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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for