in reply to Re: Read a line with max length ?
in thread Read a line with max length ?
Note that a read on a socket for more data than is available won't stall. If you issue a read for 1500 bytes but there's only 100 available, you'll get 100 back, barring really bizarre OS bugsfeatures.
|
---|