Class | Coolio::TCPListener |
In: |
lib/cool.io/listener.rb
|
Parent: | Listener |
DEFAULT_BACKLOG | = | 1024 |
Create a new Coolio::TCPListener on the specified address and port. Accepts the following options:
:backlog - Max size of the pending connection queue (default 1024) :reverse_lookup - Retain BasicSocket's reverse DNS functionality (default false)
If the specified address is an TCPServer object, it will ignore the port and :backlog option and create a new Coolio::TCPListener out of the existing TCPServer object.