From: David Rodriguez Date: 2008-11-07T18:32:50+09:00 Subject: Unix Sockets SOCK_DGRAM Hi THis is my first post so I hope I do not break any rule with it. I did not found how to send packets via a datagram UNIX sockets? I was able to create a server using: sock = Socket::new( Socket::AF_UNIX, Socket::SOCK_DGRAM, 0 ) sock.bind(Socket.pack_sockaddr_un($path)) for i in 1..10 p sock.recvfrom(124) end But I need the client to send packets. I can not change from SOCK_DGRAM to SOCK_STREAM as it would be sufficient to use UNIXServer and UNIXSocket. So how can I do it? David -- Posted via http://www.ruby-forum.com/.