From: Antonin AMAND Date: 2006-06-26T22:55:20+09:00 Subject: Re: Blocking read after select unknown wrote: > On Mon, 26 Jun 2006, Antonin AMAND wrote: > >> Hi, >> >> I've some trouble reading an IO after a select > > you are calling IO#read, which reads till eof. try something like > > buf = rsock.read 8192 > I've already tried that with different values. I also tried with IO#gets (with different values as separator("\n", "\r\n", "\n")). It always block. I've used tcpdump to see if something comming on the socket and it does, but i'm never able to read. That's very very strange. Does the fact that I require 'openssl' modify the problem. -- Posted via http://www.ruby-forum.com/.