Connect to the given UNIX domain socket
# File lib/cool.io/socket.rb, line 220 def self.connect(path, *args) new(::UNIXSocket.new(path), *args) end
# File lib/cool.io/socket.rb, line 224 def initialize(socket) raise ArgumentError, "socket must be a UNIXSocket" unless socket.is_a? ::UNIXSocket super @address_family, @path = socket.peeraddr end