// wsk.h
typedef struct _WSK_CLIENT_STREAM_DISPATCH {
const WSK_CLIENT_LISTEN_DISPATCH *Listen;
const WSK_CLIENT_CONNECTION_DISPATCH *Connect;
} WSK_CLIENT_STREAM_DISPATCH, *PWSK_CLIENT_STREAM_DISPATCH;
View the official Windows Driver Kit DDI referenceNo description available.
The WSK_CLIENT_STREAM_DISPATCH structure specifies a WSK application's dispatch table of event callback functions for a stream socket. Because a stream socket can act either as a listening socket or a connection-oriented socket, this structure allows a stream socket to access the dispatch tables for both the WSK_CLIENT_LISTEN_DISPATCH structure and the WSK_CLIENT_CONNECTION_DISPATCH structure.
ListenA pointer to a WSK_CLIENT_LISTEN_DISPATCH structure, which specifies a WSK application's dispatch table of event callback functions for a stream socket which is acting as a listening socket.
ConnectA pointer to a WSK_CLIENT_CONNECTION_DISPATCH structure, which specifies a WSK application's dispatch table of event callback functions for a stream socket which is acting as a connection-oriented socket.
A WSK application passes a pointer to a WSK_CLIENT_STREAM_DISPATCH structure to the WSK subsystem when the WSK application calls the WskSocket function to create a stream socket.
WSK_CLIENT_CONNECTION_DISPATCH