From: nobu.nokada@... Date: 2002-12-19T13:49:14+09:00 Subject: Re: Socket problem Hi, At Thu, 19 Dec 2002 12:47:59 +0900, Tanaka Akira wrote: > > socket.gets("\r\n.\r\n") > > Unfortunately it doesn't work if the text response is empty. Hmm, then read the status response at first, and read the text response if present, according to the protocol. Fetching available data is possible with io/wait extension library, but I don't guess it's reliable to determin the end of input. -- Nobu Nakada