method

new

Importance_1
new(p1) public

Creates a new UNIX client socket connected to path.

require 'socket'

s = UNIXSocket.new("/tmp/sock")
s.send "hello", 0
Show source
Register or log in to add new notes.