The following functions and variables are available to the stack application.
Functions
|
Name |
Description |
![]() |
This function accepts connection requests queued for a listening socket. | |
![]() |
This function assigns a name to the socket descriptor. | |
![]() |
The closesocket function closes an existing socket. | |
![]() |
This function connects to the peer communications end point. | |
![]() |
Returns the standard host name for the system. | |
![]() |
The listen function sets the specified socket in a listen mode | |
![]() |
The recv() function is used to receive incoming data that has been queued for a socket. | |
![]() |
The recvfrom() function is used to receive incoming data that has been queued for a socket. | |
![]() |
The send function is used to send outgoing data on an already connected socket. | |
![]() |
This function used to send the data for both connection oriented and connection-less sockets. | |
![]() |
This function creates a new Berkeley socket. |
Macros
|
Name |
Description |
![]() |
Internet Address Family - UDP, TCP, etc. | |
![]() |
IP address for server binding. | |
![]() |
Invalide TCP port | |
![]() |
IP Address for server binding | |
![]() |
Indicates IP pseudo-protocol. | |
![]() |
Indicates TCP for the internet address family. | |
![]() |
Indicates UDP for the internet address family. | |
![]() |
Connectionless datagram socket. Use UDP for the internet address family. | |
![]() |
Connection based byte streams. Use TCP for the internet address family. | |
![]() |
Socket connection state. | |
![]() |
Socket disconnected | |
![]() |
Socket error |
Module
Structures
|
Name |
Description |
![]() |
Berkeley Socket structure | |
![]() |
in_addr structure | |
![]() |
generic address structure for all address families | |
![]() |
In the Internet address family |
Types
|
Name |
Description |
![]() |
generic address structure for all address families | |
![]() |
In the Internet address family | |
![]() |
Socket descriptor |