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

Ns_ConnContentLength

Overview

Return content length

Syntax

    int Ns_ConnContentLength(
    Ns_Conn *conn
    );

Description

The Ns_ConnContentLength function returns the number of bytes in the content associated with the connection.

Examples

    	/* Copy the content from the browser to a DString. */
    	Ns_DString ds;
    	int len;
    
    	Ns_DStringInit(&ds);
    	len = Ns_ConnContentLength(conn);
    	Ns_ConnCopyToDString(conn, len, &ds);

Top of Page

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