Hi,

In message "[ruby-talk:13906] Re: Sockets-- using readlines versus gets"
    on 01/04/20, "Norman Makoto Su" <makoto / uclink4.berkeley.edu> writes:

|> readlines read everything until the end of file.  In this case, client
|
|So, even if I do manually use the sockets's send method to send an EOF
|character (C-D or C-Z), the server will just wait forever?  Is the meaning
|of end of file different for a socket?

on UNIX, C-d (004)and C-z (032) are mere data.  EOF is caused only by
closing (or shutting down) a file descriptor.

							matz.