| Class | Celluloid::IO::TCPSocket |
| In: |
lib/celluloid/io/tcp_socket.rb
|
| Parent: | Stream |
TCPSocket with combined blocking and evented support
Convert a Ruby TCPSocket into a Celluloid::IO::TCPSocket DEPRECATED: to be removed in a future release
Opens a TCP connection to remote_host on remote_port. If local_host and local_port are specified, then those parameters are used on the local end to establish the connection.
Open a TCP socket, yielding it to the given block and closing it automatically when done (if a block is given)