Socket Functions

The Windows Sockets specification includes the following Berkeley-style socket routines:

accept1
An incoming connection is acknowledged and associated with an immediately created socket. The original socket is returned to the listening state.
bind
Assign a local name to an unnamed socket.
closesocket1
Remove a socket from the per-process object reference table. Only blocks if SO_LINGER is set with a non-zero timeout on a blocking socket.
connect1
Initiate a connection on the specified socket.
getpeername
Retrieve the name of the peer connected to the specified socket.
getsockname
Retrieve the local address to which the specified socket is bound.
getsockopt
Retrieve options associated with the specified socket.
htonl2
Convert a 32-bit quantity from host byte order to network byte order.
htons2
Convert a 16-bit quantity from host byte order to network byte order.
inet_addr2
Converts a character string representing a number in the Internet standard ".'' notation to an Internet address value.
inet_ntoa2
Converts an Internet address value to an ASCII string in ".'' notation i.e. "a.b.c.d''.
ioctlsocket
Provide control for sockets.
listen
Listen for incoming connections on a specified socket.
ntohl2
Convert a 32-bit quantity from network byte order to host byte order.
ntohs2
Convert a 16-bit quantity from network byte order to host byte order.
recv1
Receive data from a connected or unconnected socket.
recvfrom1
Receive data from either a connected or unconnected socket.
select1
Perform synchronous I/O multiplexing.
send1
Send data to a connected socket.
sendto1
Send data to either a connected or unconnected socket.
setsockopt
Store options associated with the specified socket.
shutdown
Shut down part of a full-duplex connection.
socket
Create an endpoint for communication and return a socket descriptor.
  1. The routine can block if acting on a blocking socket.
  2. The routine is retained for backward compatibility with Windows Sockets 1.1, and should only be used for sockets created with AF_INET address family.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database