411 REFERENCE · Wikibooks
Perl Programming/Keywords/listen
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Perl link local Keywords
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.
Syntax
local SOCKET, QUEUESIZE
See also
accept
Perl link local Keywords