# File lib/cool.io/socket.rb, line 158 def initialize(family, addr, port, host = addr) @host, @addr, @port = host, addr, port @address_family = nil super(family, ::Socket::SOCK_STREAM, 0) begin connect_nonblock(::Socket.sockaddr_in(port, addr)) rescue Errno::EINPROGRESS end end
Generated with the Darkfish Rdoc Generator 2.