Class Rev::TCPSocket
In: lib/rev/socket.rb
Parent: Socket

Methods

connect   new   peeraddr   precreate  

Classes and Modules

Class Rev::TCPSocket::TCPConnectResolver
Class Rev::TCPSocket::TCPConnectSocket

Attributes

address_family  [R] 
remote_addr  [R] 
remote_host  [R] 
remote_port  [R] 

Public Class methods

Perform a non-blocking connect to the given host and port

Similar to .new, but used in cases where the resulting object is in a "half-open" state. This is primarily used for when asynchronous DNS resolution is taking place. We don‘t actually have a handle to the socket we want to use to create the watcher yet, since we don‘t know the IP address to connect to.

Public Instance methods

[Validate]