|
|
char *Ns_ConnGets(
char *buf,
size_t sz,
Ns_Conn *conn
);
The Ns_ConnGets function reads sz bytes of a single line (until newline/cr) from the connection into the buffer specified by buf. Ns_ConnGets returns buf or, in the case of a read error, NULL.