|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
    int Ns_ConnReadLine(
    Ns_Conn *conn,
    Ns_DString *pdsLine,
    int* *iRead
    );
The Ns_ConnReadLine function reads an \n or \r terminated line from the connection into the Ns_DString pointed to by pdsLine. The iRead argument will contain the number of bytes read. Ns_ConnReadLine returns a status of NS_OK or NS_ERROR.