TTCPBlockSocket.Accept
TTCPBlockSocket

function Accept: TSocket;

Unit
blcksock

Description
Waits until new incoming connection comes. After it comes a new socket is automatically created (returned by this function) and accepted client connection is handled by this new socket.

If you use SOCKS5, new socket is not created. In this case is used same socket as socket for listening!


See also:
CanRead, Listen