WSPPROC_TABLE structure

The Windows Sockets WSPPROC_TABLE structure is used to retrieve a table of pointers to a SAN service provider's entry point functions.

Syntax

typedef struct _WSPPROC_TABLE {
  LPWSPACCEPT              lpWSPAccept;
  LPWSPADDRESSTOSTRING     lpWSPAddressToString;
  LPWSPASYNCSELECT         lpWSPAsyncSelect;
  LPWSPBIND                lpWSPBind;
  LPWSPCANCELBLOCKINGCALL  lpWSPCancelBlockingCall;
  LPWSPCLEANUP             lpWSPCleanup;
  LPWSPCLOSESOCKET         lpWSPCloseSocket;
  LPWSPCONNECT             lpWSPConnect;
  LPWSPDUPLICATESOCKET     lpWSPDuplicateSocket;
  LPWSPENUMNETWORKEVENTS   lpWSPEnumNetworkEvents;
  LPWSPEVENTSELECT         lpWSPEventSelect;
  LPWSPGETOVERLAPPEDRESULT lpWSPGetOverlappedResult;
  LPWSPGETPEERNAME         lpWSPGetPeerName;
  LPWSPGETSOCKNAME         lpWSPGetSockName;
  LPWSPGETSOCKOPT          lpWSPGetSockOpt;
  LPWSPGETQOSBYNAME        lpWSPGetQOSByName;
  LPWSPIOCTL               lpWSPIoctl;
  LPWSPJOINLEAF            lpWSPJoinLeaf;
  LPWSPLISTEN              lpWSPListen;
  LPWSPRECV                lpWSPRecv;
  LPWSPRECVDISCONNECT      lpWSPRecvDisconnect;
  LPWSPRECVFROM            lpWSPRecvFrom;
  LPWSPSELECT              lpWSPSelect;
  LPWSPSEND                lpWSPSend;
  LPWSPSENDDISCONNECT      lpWSPSendDisconnect;
  LPWSPSENDTO              lpWSPSendTo;
  LPWSPSETSOCKOPT          lpWSPSetSockOpt;
  LPWSPSHUTDOWN            lpWSPShutdown;
  LPWSPSOCKET              lpWSPSocket;
  LPWSPSTRINGTOADDRESS     lpWSPStringToAddress;
} WSPPROC_TABLE, *LPWSPPROC_TABLE;

Members

  • lpWSPAccept
    Pointer to the SAN service provider's WSPAccept function.

  • lpWSPAddressToString
    Set to NULL.

  • lpWSPAsyncSelect
    Set to NULL.

  • lpWSPBind
    Pointer to the SAN service provider's WSPBind function.

  • lpWSPCancelBlockingCall
    Set to NULL.

  • lpWSPCleanup
    Pointer to the SAN service provider's WSPCleanup function.

  • lpWSPCloseSocket
    Pointer to the SAN service provider's WSPCloseSocket function.

  • lpWSPConnect
    Pointer to the SAN service provider's WSPConnect function.

  • lpWSPDuplicateSocket
    Pointer to the SAN service provider's WSPDuplicateSocket function.

  • lpWSPEnumNetworkEvents
    Pointer to the SAN service provider's WSPEnumNetworkEvents function.

  • lpWSPEventSelect
    Pointer to the SAN service provider's WSPEventSelect function.

  • lpWSPGetOverlappedResult
    Pointer to the SAN service provider's WSPGetOverlappedResult function.

  • lpWSPGetPeerName
    Set to NULL.

  • lpWSPGetSockName
    Set to NULL.

  • lpWSPGetSockOpt
    Pointer to the SAN service provider's WSPGetSockOpt function.

  • lpWSPGetQOSByName
    Pointer to the SAN service provider's WSPGetQOSByName function.

  • lpWSPIoctl
    Pointer to the SAN service provider's WSPIoctl function.

  • lpWSPJoinLeaf
    Set to NULL.

  • lpWSPListen
    Pointer to the SAN service provider's WSPListen function.

  • lpWSPRecv
    Pointer to the SAN service provider's WSPRecv function.

  • lpWSPRecvDisconnect
    Set to NULL.

  • lpWSPRecvFrom
    Set to NULL.

  • lpWSPSelect
    Set to NULL.

  • lpWSPSend
    Pointer to the SAN service provider's WSPSend function.

  • lpWSPSendDisconnect
    Set to NULL for a Windows Socket Direct (WSD)-SAN service provider.

  • lpWSPSendTo
    Set to NULL.

  • lpWSPSetSockOpt
    Pointer to the SAN service provider's WSPSetSockOpt function.

  • lpWSPShutdown
    Set to NULL.

  • lpWSPSocket
    Pointer to the SAN service provider's WSPSocket function.

  • lpWSPStringToAddress
    Set to NULL.

Remarks

The members of WSPPROC_TABLE that a SAN service provider sets to NULL represent functions that are never called by the switch; therefore, the SAN service provider does not implement those functions. For more information, see Windows Sockets SPI Functions not Required for SANs.

Requirements

Version

Requires Windows Sockets version 2.0.

Header

Ws2spi.h (include Ws2spi.h)

See also

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