From: Manuel Zabelt Date: 2001-11-17T03:48:26+09:00 Subject: [ruby-talk:25585] Re: UNIX Sockets Dave Thomas wrote: > > The file shouldn't exist when you call UNIXServer.open. Yes, and I'm wondering whether it is normal or not, that the file will be created the first time I run the script but will never be deleted. I tried to close the UNIXServer and the Socket it returns, but the problem persists. $path= "/tmp/ruby-socket-file" sThread = Thread.start{ sock = UNIXServer.open($path) s1 = sock.accept p s1.recvfrom(124) s1.close sock.close } client = UNIXSocket.open($path); client.send("hello",0) client.close sThread.join thanks manu