apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Ince" <si...@opendemand.com>
Subject read a line via a buffered socket data structure
Date Thu, 22 Jan 2004 21:12:47 GMT
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

Mime
View raw message