require 'socket' $path = "/tmp/socket" sock = UNIXServer.open(ARGV[0]) s1 = sock.accept p s1.recvfrom(100) s1.close