Share via


Windows-Specific Extension Functions (Compact 2013)

3/26/2014

This section discusses the Windows-specific extension functions.

In This Section

  • WSAAccept
    Conditionally accepts a connection based on the return value of a condition function and allows the transfer of connection data
  • WSAAsyncGetHostByName
    Deprecated.

    Asynchronously retrieves information about a host that corresponds to a host name

  • WSAAsyncSelect
    Requests Windows message-based notifications of network events for a socket
  • WSAEnumNetworkEvents
    Discovers occurrences of network events for the indicated socket, clear internal network event records, and reset event objects (optional)
  • WSAEventSelect
    Specifies an event object to be associated with the supplied set of FD_XXX network events
  • WSAHtonl
    Converts a u_long from host byte order to network byte order
  • WSAHtons
    Converts a u_short from host byte order to network byte order
  • WSAIoctl
    This function allows for miscellaneous control of a socket
  • WSAJoinLeaf
    This function joins a leaf node into a multipoint session, and exchanges connect data
  • WSANSPIoctl
    This function enables developers to make I/O control calls to a registered namespace
  • WSANtohl
    Converts a u_long from network byte order to host byte order
  • WSANtohs
    Converts a u_short from network byte order to host byte order
  • WSARecv
    Receives data from a connected socket
  • WSARecvFrom
    Receives data on a socket and stores the source address
  • WSAResetEvent
    Resets the state of the specified event object to nonsignaled
  • WSASend
    Sends data on a connected socket
  • WSASendTo
    Sends data to a specific destination, using overlapped I/O where applicable
  • WSASetEvent
    Sets the state of the specified event object to signaled
  • WSASetService (Windows Sockets)
    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.

  • WSASocket
    Creates a socket that is bound to a specific transport service provider
  • WSAStartup
    Initiates use of ws2.dll by a process
  • WSAStringToAddress
    Converts a numeric string to a sockaddr structure suitable for passing to Windows Sockets routines that take such a structure
  • WSAWaitForMultipleEvents
    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

See Also

Reference

Winsock Functions