[Overview][Constants][Types][Procedures and functions] |
Listen for connections on socket (deprecated).
Source position: socketsh.inc line 186
function Listen( |
Sock: LongInt; |
MaxConnect: LongInt |
):Boolean; |
Listen listens for up to MaxConnect connections from socket Sock. The socket Sock must be of type SOCK_STREAM or Sock_SEQPACKET.
The function returns True if a connection was accepted, False if an error occurred.
Errors are reported in SocketError, and include the following:
|
Create new socket (deprecated) |
|
|
Bind a socket to an address (deprecated). |
|
|
Open a connection to a server socket (deprecated). |