tcp_server_sockets(host=nil, port)
Class Public methods
creates TCP/IP server sockets for host and port.
host is optional.
If no block given, it returns an array of listening sockets.
If a block is given, the block is called with the sockets. The value of the
block is returned. The socket is closed when this method returns.
If port is 0, actual port number is chosen dynamically. However
all sockets in the result has same port number.
# tcp_server_sockets returns two sockets.
socket