From: matz@... (Yukihiro Matsumoto) Date: 1999-01-26T00:19:40+09:00 Subject: [ruby-talk:00217] Re: TCPsocket.recvfrom in use In message "[ruby-talk:00214] TCPsocket.recvfrom in use" on 99/01/25, Julian Fondren writes: |Could I have an example of TCPsocket.recvfrom in use? It doesn't appear to |be used at all in ruby/lib or in the samples. Thank you. It should be something like this: s = TCPsocket.open(host, port) data, addr = s.recvfrom(25, Socket::MSG_PEEK)