|
This section contains information on Winsock Compatibility Issues and a list of supported winsock API functions.
WinSock BSD API |
Description |
Returns a new socket that corresponds to an established connection from the listening socket queue. |
|
Assigns a local name to an unnamed socket. |
|
Removes a socket from the per-process object reference table. Only blocks if SO_LINGER is set with a nonzero time-out on a blocking socket. |
|
Initiates a connection on the specified socket. |
|
Frees address info returned by a call to freeaddrinfo. |
|
Provides protocol independent translation from hostname to address. |
|
Retrieves host information corresponding to a host name from a host database on a DNS server. |
|
Returns an ASCII string that can be used with gethostbyname. |
|
Provides name resolution from an address to the host name. |
|
Retrieves the name of the peer connected to the specified socket. |
|
Retrieves the local address to which the specified socket is bound. |
|
Retrieves options associated with the specified socket. RTX extends getsockopt with two additional options that apply at the IPPROTO_TCP level:
The IP_DONTFRAGMENT socket option, which is at the IPPROTO_IP level, has a default of 1 (fragmentation disabled). |
|
Converts a 32-bit quantity from host-byte order to network-byte order. |
|
Converts a 16-bit quantity from host-byte order to network-byte order. |
|
Converts a character string representing a number in the Internet standard ".'' notation to an Internet address value. |
|
Converts an Internet address value to an ASCII string in ".'' notation i.e., "a.b.c.d''. |
|
Provides control for sockets. |
|
Listens for incoming connections on a specified socket. |
|
Converts a 32-bit quantity from network-byte order to host-byte order. |
|
Converts a 16-bit quantity from network byte order to host byte order. |
|
Receives data from a connected or unconnected socket. |
|
Receives data from either a connected or unconnected socket. |
|
Performs synchronous I/O multiplexing. |
|
Sends data to a connected socket. |
|
Sends data to either a connected or unconnected socket. |
|
Stores options associated with the specified socket. RTX extends setsockopt with two additional options that apply at the IPPROTO_TCP level:
The IP_DONTFRAGMENT socket option, which is at the IPPROTO_IP level, has a default of 1 (fragmentation disabled). |
|
Shuts down part of a full-duplex connection. |
|
Creates an endpoint for communication and return a socket descriptor. |
|
Returns a new socket that corresponds to an established connection from the listening socket queue. |
|
Terminates use of the RT-TCP/IP stack within an RTSS process. |
|
Closes an open event object. |
|
Establishes a connection to a specified socket. |
|
Creates an event object internally with an initial state of nonsignaled. |
|
Specifies an event object to be associated with the specified set of FD_XXX network events. |
|
Checks whether a socket is included in set of socket descriptors. |
|
Gets the status for the last Winsock operation that failed. |
|
Converts a u_long IPv4 address in host byte order to TCP/IP network byte order. |
|
Converts a u_short IPv4 address in host byte-ordering to TCP/IP network byte order. |
|
Performs a protocol-specific I/O control action on the socket in any state. |
|
Converts a u_long in TCP/IP network byte order to host byte order. |
|
Converts a u_short in TCP/IP network byte order to host byte order. |
|
Receives data on a socket and returns the number of bytes received. |
|
Causes a socket to be closed for receiving. |
|
Receives a datagram on a socket and returns the number of bytes received. |
|
Resets the state of the specified event object to non signaled. |
|
Transmits a message on a connected socket. |
|
Causes a socket to be closed for sending. |
|
Transmits a message on a socket. |
|
Sets the state of the specified event object to signaled. |
|
Sets the error code which can be retrieved by WSAGetLastError call for the current thread. |
|
Creates a socket and returns an integer descriptor. |
|
Initiates the use of RT-TCP/IP by an RTSS process. |