[Overview][Constants][Types][Procedures and functions][Variables] |
Listen for connections on socket.
Source position: socketsh.inc line 182
function Listen( |
Sock: LongInt; |
MaxConnect: LongInt |
):Boolean; |
Listenlistens for up to MaxConnectconnections from socket Sock. The socket Sockmust be of type SOCK_STREAMor Sock_SEQPACKET.
The function returns Trueif a connection was accepted, Falseif an error occurred.
Errors are reported in SocketError, and include the following:
|
Create new socket |
|
|
Bind a socket to an address. |
|
|
Open a connection to a server socket. |