Class | Coolio::TCPServer |
In: |
lib/cool.io/server.rb
|
Parent: | Server |
TCP server class. Listens on the specified host and port and creates new connection objects of the given class. This is the most common server class. Note that the new connection objects will be bound by default to the same event loop that the server is attached to. Optionally, it can also take any existing core TCPServer object as host and create a Coolio::TCPServer out of it.