You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Stephen Ince <si...@opendemand.com> on 2004/01/22 22:12:47 UTC

read a line via a buffered socket data structure

Hi,
    I used to be a C but I have been doing java for the past 8 years so I am a little spoiled.
    Are there any functions in the APR that can facilitate in doing buffered IO at the socket level?
    I would like to read a line at a time and I want the IO to be buffered.

For example:

read_line(socket, &line);

where line is a pointer to char* and socket is some type of buffered socket data struture.


Steve