TCPSocket class of PicoRuby
Singleton methods
gethostbyname
TCPSocket.gethostbyname(String host) -> [String, Array[String], Integer, String]
new
TCPSocket.new(String host, Integer port) -> TCPSocket
open
TCPSocket.open(String host, Integer port) -> TCPSocket
Instance methods
addr
instance.addr() -> Array[String | Integer]
connected?
instance.connected?() -> bool