is it really inefficient and slow to recv stuff from a socket 1 byte at
a time?

my program reads data from a socket 1 byte at a time, checking if the
character read is a newline, if it isn't then the char is copied into a
char array, otherwise the recv stops and something is done with the array.
then the whole thing is repeated for the next line... etc.

basically i want to be able to read strings of varying length from a socket,
stopping when a newline is found.

-- 
+++      If at first you don't succeed, you must be a programmer     +++
[EMAIL PROTECTED]     http://www.users.globalnet.co.uk/~kermit

Reply via email to