[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_ConnGets

Overview

Read content into a buffer

Syntax

    char *Ns_ConnGets(
    char *buf,
    size_t sz,
    Ns_Conn *conn
    );

Description

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.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.