[ 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.

Example

    	/* 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 © 1996 America Online, Inc.