From: daniel Date: 2003-05-07T17:55:36+09:00 Subject: Re: disable buffering on sockets Brian Candler wrote: > On Wed, May 07, 2003 at 04:54:37PM +0900, daniel wrote: > > > If that's not it, can you give an example of what your problem is? > If I send ``hello, nice to see you幹 three times to a socket -- 3.times do sleep(1) sock.send("hello, nice to see you", 0) end -- the other socket buffers the data and so socket.read does not work. I'm using now socket.gets and send the following string ``hello, nice to see you\n幹 - this works. If I send the the string without a linefeed char, the buffer is retrieved to the script on socket.close. daniel