listen

listen SOCKET,QUEUESIZE
Does the same thing that the listen system call does. Returns true if it succeeded, false otherwise. See the example in perlipc/"Sockets: Client/Server Communication".