C API Reference -- Ns_ConnCopyToDString

### Ns_ConnCopyToDString

#### Overview

Copy data from connection to dynamic string

#### Syntax

        int Ns_ConnCopyToDString(
        Ns_Conn *conn,
        size_t iToCopy,
        Ns_DString *pds
        );

#### Description

The Ns_ConnCopyToDString function copies `iToCopy` bytes of data from the connection to the Ns_DString pointed to by `pds`. Ns_ConnCopyToDString returns a status of NS_OK or NS_ERROR.

#### Examples

See the example for Ns_ConnContentLength.

Top of Page
Copyright © 1998-99 America Online, Inc.