Class | Celluloid::IO::TCPServer |
In: |
lib/celluloid/io/tcp_server.rb
|
Parent: | Socket |
TCPServer with combined blocking and evented support
Convert a Ruby TCPServer into a Celluloid::IO::TCPServer @deprecated Use .new instead.
@overload initialize(port)
Opens a tcp server on the given port. @param port [Numeric]
@overload initialize(hostname, port)
Opens a tcp server on the given port and interface. @param hostname [String] @param port [Numeric]
@overload initialize(socket)
Wraps an already existing tcp server instance. @param socket [::TCPServer]