|
|
int Ns_ConnRead(
Ns_Conn *conn,
void *pvBuf,
int iToRead
);
iToRead bytes from the connection into pvBuf. Ns_ConnRead returns the status NS_ERROR or the number of bytes read from the connection. /* Read content from the browser into buf. */
char buf[1024];
Ns_ConnRead(conn, buf, sizeof(buf));