Share via


Winsock SPI Functions (Compact 2013)

3/26/2014

This section discusses the Winsock SPI functions.

In This Section

  • NSPCleanup
    Terminates the use of a particular Windows Sockets name space service provider
  • NSPGetServiceClassInfo
    Retrieves all the pertinent class information (schema) pertaining to the name-space provider
  • NSPSetService
    This function registers or deregisters a service instance within a name space
  • NSPStartup
    Retrieves the dynamic information about a provider, such as the list of the DLL entry points
  • WPUFDIsSet
    Checks the membership of the specified socket handle
  • WPUQueryBlockingCallback
    Returns a pointer to a callback function the service provider should invoke periodically while servicing blocking operations

    Note

    This function is not supported for the default TCP/UDP provider in Windows Embedded Compact. However, third parties can implement their own provider and have support for this function if they choose.

  • WPUResetEvent
    Resets the state of the specified event object to nonsignaled
  • WPUSetEvent
    Sets the state of the specified event object to signaled
  • WSCDeinstallProvider
    Removes the specified transport provider from the system configuration database
  • WSCInstallProvider
    Installs the specified transport provider into the system configuration database
  • WSPAccept
    Conditionally accepts a connection based on the return value of a condition function
  • WSPAddressToString
    Converts all parts of a sockaddr structure into a human readable-numeric string representation of the address
  • WSPAsyncSelect
    Requests Windows message-based event notification of network events for a socket
  • WSPBind
    Associates a local address (that is, name) with a socket
  • WSPCleanup
    Terminates use of the Windows Sockets service provider
  • WSPConnect
    Establishes a connection to a peer, and exchanges connect data
  • WSPDuplicateSocket
    Returns a structure that can be used to create a new socket descriptor for a shared socket
  • WSPEventSelect
    Specifies an event object to be associated with the supplied set of network events
  • WSPGetPeerName
    Gets the address of the peer to which a socket is connected
  • WSPIoctl
    Controls the mode of a socket
  • WSPJoinLeaf
    Joins a leaf node into a multipoint session, and exchanges connect data
  • WSPListen
    Establishes a socket to listen for incoming connections
  • WSPRecv
    Receives data on a socket
  • WSPRecvDisconnect
    Terminates reception on a socket and retrieves the disconnect data, if the socket is connection oriented

    Note

    This function is not supported for the default TCP/UDP provider in Windows Embedded Compact. However, third parties can implement their own provider and have support for this function if they choose.

  • WSPRecvFrom
    Receives a datagram and stores the source address
  • WSPSelect
    Determines the status of one or more sockets
  • WSPSend
    Sends data on a connected socket
  • WSPSendDisconnect
    Initiates termination of the connection for the socket and sends disconnect data

    Note

    This function is not supported for the default TCP/UDP provider in Windows Embedded Compact. However, third parties can implement their own provider and have support for this function if they choose.

  • WSPSendTo
    Sends data to a specific destination using overlapped I/O
  • WSPShutdown
    Disables sends and/or receives on a socket
  • WSPStartup
    Initiates use of a Windows Sockets service provider by a client
  • WSPStringToAddress
    Converts a human-readable numeric string to a socket address structure (sockaddr) suitable to passing to Windows Sockets routines that take such a structure

See Also

Reference

Winsock SPI Reference
Winsock SPI Structures