TcpListener.accept

Accept a new connection. If the socket is in blocking mode, this function will not return until a connection is actually received.

class TcpListener
Status
accept

Parameters

socket TcpSocket

Socket that will hold the new connection.

Return Value

Type: Status

Status code.

Meta