Perl Programming/Keywords/listen

The listen keyword
listen does exactly the same what listen(2) in UNIX does; returns with true on success and with false otherwise. It marks marks the socket referred to by SOCKET as a passive socket that will be used to accept incoming connection requests using accept. The argument QUEUESIZE defines the maximum queue length for pending connections for SOCKET may grow.