From: ts Date: 2003-09-29T18:26:16+09:00 Subject: Re: Ruby Newbie's Question: Sockets - searching for equivalent to a perl programme >>>>> "J" == Johannes Steigerwald writes: J> I have been desperately trying to convert the following perl programme J> to Ruby. What should I use for the functions sockaddr_in (maybe the J> famous pack("snCaaaa8") ?) and syswrite. Well, look at the class TCPSocket http://www.rubycentral.com/book/lib_network.html#TCPSocket.new http://www.ruby-lang.org/en/man-1.4/socket.html#TCPSocket Guy Decoux