Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The following table shows the Winsock SPI functions with a description of the purpose of each.
Programming element | Description | ||
---|---|---|---|
This function terminates the use of a particular Windows Sockets name space service provider. |
|||
This function retrieves all the pertinent class information (schema) pertaining to the name-space provider. |
|||
This function registers service class schema within the name-space providers. |
|||
This function initiates a client query that is constrained by the information contained within a WSAQUERYSET (Windows Sockets)structure. |
|||
This function is called to free the handle after previous calls to NSPLookupServiceBeginand NSPLookupServiceNext. |
|||
This function is called after obtaining a handle from a previous call to NSPLookupServiceBeginin order to retrieve the requested service information. |
|||
This function permanently removes a specified service class from the name space. |
|||
This function registers or deregisters a service instance within a name space. |
|||
This function retrieves the dynamic information about a provider, such as the list of the DLL entry points. |
|||
This function closes an open event object handle. |
|||
This function closes an existing socket handle. |
|||
This function performs overlapped I/O completion notification for overlapped I/O operations. |
|||
This function creates a new event object. |
|||
This function creates a new socket handle. |
|||
This function checks the membership of the specified socket handle. |
|||
This function retrieves the DLL path for the specified provider. |
|||
This function returns a pointer to a callback function the service provider should invoke periodically while servicing blocking operations.
|
|||
This function queries the context value associated with the specified socket handle. |
|||
This function resets the state of the specified event object to nonsignaled. |
|||
This function sets the state of the specified event object to signaled. |
|||
This function removes the specified transport provider from the system configuration database. |
|||
This function retrieves information about available transport protocols. |
|||
This function installs a name-space provider. |
|||
This function installs the specified transport provider into the system configuration database. |
|||
This function uninstalls the indicated name-space provider. |
|||
This function conditionally accepts a connection based on the return value of a condition function. |
|||
This function converts all parts of a sockaddrstructure into a human readable–numeric string representation of the address. |
|||
This function requests Windows message-based event notification of network events for a socket. |
|||
This function associates a local address (that is, name) with a socket. |
|||
This function terminates use of the Windows Sockets service provider. |
|||
This function closes a socket. |
|||
This function establishes a connection to a peer, and exchanges connect data. |
|||
This function returns a structure that can be used to create a new socket descriptor for a shared socket. |
|||
This function reports occurrences of network events for the indicated socket. |
|||
This function specifies an event object to be associated with the supplied set of network events. |
|||
This function returns the results of an overlapped operation on the specified socket. |
|||
This function reports occurrences of network events for the indicated socket. |
|||
This function specifies an event object to be associated with the supplied set of network events. |
|||
This function returns the results of an overlapped operation on the specified socket. |
|||
This function gets the address of the peer to which a socket is connected. |
|||
This function gets the local name for a socket. |
|||
This function retrieves a socket option. |
|||
This function controls the mode of a socket. |
|||
This function joins a leaf node into a multipoint session, and exchanges connect data. |
|||
This function establishes a socket to listen for incoming connections. |
|||
This function receives data on a socket. |
|||
This function terminates reception on a socket and retrieves the disconnect data, if the socket is connection oriented.
|
|||
This function receives a datagram and stores the source address. |
|||
This function determines the status of one or more sockets. |
|||
This function sends data on a connected socket. |
|||
This function initiates termination of the connection for the socket and sends disconnect data.
|
|||
This function sends data to a specific destination using overlapped I/O. |
|||
This function sets a socket option. |
|||
This function disables sends and/or receives on a socket. |
|||
This function creates a socket. |
|||
This function initiates use of a Windows Sockets service provider by a client. |
|||
This function converts a human-readable numeric string to a socket address structure ( sockaddr) suitable to passing to Windows Sockets routines that take such a structure. |