Windows-Specific Extension Functions
A version of this page is also available for
4/8/2010
The following table shows the Windows-specific extension functions with a description of the purpose of each.
Programming element | Description |
---|---|
This function conditionally accepts a connection based on the return value of a condition function and allows the transfer of connection data. |
|
This function converts all parts of a sockaddr structure into a human-readable string representation of the address. |
|
This function terminates use of the ws2.dll. |
|
This function closes an open event object handle. |
|
This function establishes a connection to another socket application and exchanges connect (Windows Sockets) data. |
|
This function creates a new event object. |
|
This function retrieves information about available name spaces. |
|
This function discovers occurrences of network events for the indicated socket, clear internal network event records, and reset event objects (optional). |
|
This function retrieves information about available transport protocols. |
|
This function specifies an event object to be associated with the supplied set of FD_XXX network events. |
|
This function gets the error status for the last operation that failed. |
|
This function returns the results of an overlapped operation on the specified socket. |
|
This function converts a u_long from host byte order to network byte order. |
|
This function converts a u_short from host byte order to network byte order. |
|
This function allows for miscellaneous control of a socket. |
|
This function joins a leaf node into a multipoint session, and exchanges connect data. |
|
This function initiates a client query that is constrained by the information contained within a WSAQUERYSET (Windows Sockets) structure. This function only returns a handle, which should be used by subsequent calls to the WSALookupServiceNext (Windows Sockets) function to get the actual results. |
|
This function is called to free the handle after previous calls to WSALookupServiceBegin (Windows Sockets) and WSALookupServiceNext (Windows Sockets). |
|
This function is called after obtaining a handle from a previous call to the WSALookupServiceBegin (Windows Sockets) function to retrieve the requested service information. |
|
This function enables developers to make I/O control calls to a registered namespace. |
|
This function converts a u_long from network byte order to host byte order. |
|
This function converts a u_short from network byte order to host byte order. |
|
This function receives data from a connected socket. |
|
This function receives data on a socket and stores the source address. |
|
This function resets the state of the specified event object to nonsignaled. |
|
This function sends data on a connected socket. |
|
This function sends data to a specific destination, using overlapped I/O where applicable. |
|
This function sets the state of the specified event object to signaled. |
|
This function sets the error code that can be retrieved through the WSAGetLastError function. |
|
This function registers or removes from the registry a service instance within one or more name spaces. > [!NOTE] > This function is not supported for the default TCP/UDP provider. However, third parties can implement their own provider and have support for this function if they choose. |
|
This function creates a socket that is bound to a specific transport service provider. |
|
This function initiates use of ws2.dll by a process. |
|
This function converts a numeric string to a sockaddr structure suitable for passing to Windows Sockets routines that take such a structure. |
|
This function waits for multiple events and returns either when one or all of the specified event objects are in the signaled state, or when the timeout interval expires. |