Class | Coolio::TCPSocket |
In: |
lib/cool.io/socket.rb
|
Parent: | Socket |
address_family | [R] | |
remote_addr | [R] | |
remote_host | [R] | |
remote_port | [R] |
Perform a non-blocking connect to the given host and port see examples/echo_client.rb addr is a string, can be an IP address or a hostname.
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.