Ruby TCPServer Functions
EditRocket provides the following information on TCPServer functions in the Ruby source code builder.
accept_nonblock - Accepts an incoming connection using accept(2) after O_NONBLOCK is set for the underlying file descriptor. It returns an accepted TCPSocket for the incoming connection.
listen( int ) - Listens for connections, using the specified int as the backlog. A call to listen only applies if the socket is of type SOCK_STREAM or SOCK_SEQPACKET.