Re: Reading data from a file descriptor

2015-11-15 Thread Thompson, David
On Sun, Nov 15, 2015 at 6:09 AM, Jan Synáček wrote: > On Fri, Nov 13, 2015 at 9:45 PM, Thompson, David > wrote: >> On Fri, Nov 13, 2015 at 3:41 PM, Jan Synáček wrote: >>> >>> I have an open fd to a unix socket and I want to read data from it. I >>> know that the data is going to be only strings,

Re: Reading data from a file descriptor

2015-11-15 Thread Jan Synáček
On Fri, Nov 13, 2015 at 9:45 PM, Thompson, David wrote: > On Fri, Nov 13, 2015 at 3:41 PM, Jan Synáček wrote: >> >> I have an open fd to a unix socket and I want to read data from it. I >> know that the data is going to be only strings, but I don't know the >> length in advance. The good thing ab