Socket Functions (Windows Embedded CE 6.0)
1/6/2010
The following table shows the socket functions with a description of the purpose of each.
Programming element | Description |
---|---|
This function permits an incoming connection attempt on a socket. |
|
This function associates a local address with a socket. |
|
This function closes an existing socket. |
|
This function establishes a connection to a specified socket. |
|
This function frees address information that the getaddrinfo function dynamically allocates in its addrinfo structures. |
|
This function provides protocol-independent translation from host name to address. |
|
This function retrieves the host information corresponding to a network address.
Note:
The gethostbyaddr function has been deprecated by the introduction of the getnameinfo function. Developers who create Windows Sockets 2 applications are urged to use the getnameinfo function instead of the gethostbyaddr function.
|
|
This function retrieves host information corresponding to a host name from a host database.
Note:
The gethostbyname function has been deprecated by the introduction of the getaddrinfo function. Developers who create Windows Sockets 2 applications are urged to use the getaddrinfo function instead of gethostbyname.
|
|
This function returns the standard host name for the local machine. |
|
This function provides name resolution from an address to the host name. |
|
This function retrieves the name of the peer to which a socket is connected. |
|
This function retrieves the local name for a socket. |
|
This function retrieves a socket option. |
|
This function converts a u_long from host to TCP/IP network byte order, which is big-endian. |
|
This function converts a u_short from host to TCP/IP network byte order, which is big-endian. |
|
This function converts a string containing an (Ipv4) Internet Protocol dotted address into a proper address for the in_addr structure. |
|
This function converts an (Ipv4) Internet network address into a string in Internet standard dotted format. |
|
This function controls the I/O mode of a socket. |
|
This function places a socket at a state where it is listening for an incoming connection. |
|
This function converts a u_long from TCP/IP network order to host byte order, which is little-endian on Intel processors. |
|
This function converts a u_short from TCP/IP network byte order to host byte order, which is little-endian on Intel processors. |
|
This function receives data from a connected socket. |
|
This function receives a datagram and stores the source address. |
|
This function determines the status of one or more sockets, waiting if necessary, to perform synchronous I/O. |
|
This function sends data on a connected socket. |
|
This function sends data to a specific destination. |
|
This function is used to register the host name on a network with the Windows Internet Naming Service (WINS). |
|
This function sets a socket option. |
|
This function disables sends or receives on a socket. |
|
This function creates a socket that is bound to a specific service provider. |