Share via


Windows Sockets Direct SPI Reference

This reference section documents the subset of the Windows Sockets service provider interface (SPI) functions that are exported by a SAN service provider.

Note   These SPI functions are defined in Ws2spi.h and require Windows Sockets version 2.0, except for the WSPStartupEx function, which is defined in Ws2san.h and requires Windows Sockets version 2.2.

 

The complete set of Windows SPI functions is documented in the Microsoft Windows SDK documentation. However, it does not include SAN-specific information. Writers of SAN service providers should refer to the Windows Sockets Direct SPI Reference instead.

A SAN service provider must export all the Windows Sockets Direct SPI functions described in the Windows Sockets Direct SPI Reference. If a SAN service provider does not support quality of service (QoS), its WSPGetQOSByNamefunction must return the error WSAEOPNOTSUPP.

The following topics provide more information about the Windows Sockets Direct SPI functions:

WSPAccept

WSPBind

WSPCleanup

WSPCloseSocket

WSPConnect

WSPDuplicateSocket

WSPEnumNetworkEvents

WSPEventSelect

WSPGetOverlappedResult

WSPGetQOSByName

WSPGetSockOpt

WSPIoctl

WSPListen

WSPRecv

WSPSend

WSPSetSockOpt

WSPSocket

WSPStartupEx

 

 

Send comments about this topic to Microsoft