AsyncSocket.listen

Marks the socket as passive and enables acceptance of incoming connections into instances of AsyncSocket. Only after calling this successfully may accept request be submitted via accept.

class AsyncSocket
nothrow
bool
listen
(
int backlog = SOMAXCONN
)

Meta