I'm trying to read some data that has
null characters (0x00) in it over a socket.
The nulls are causing fgets and the current
code fits. Any suggestions? The input
is line oriented, but the only thing I can
thing of doing is to use fread and provide
my own "line-by-line" reading functions on
a buffer.