In article <4958863ec4def_87e7a376841167d / redmine.ruby-lang.org>,
  Oleg Puchinin <redmine / ruby-lang.org> writes:

> Issue #936 has been updated by Oleg Puchinin.
>
> nread can be used in TCP socets :D

For TCP (and other stream-based sockets), you can use 4096
or 16384 or whatever you like, without data lost problem.
-- 
Tanaka Akira