C API Reference -- Ns_RegisterLocation

### Ns_RegisterLocation

#### Overview

Register location for socket driver

#### Syntax

        int Ns_RegisterLocation (
        char* name,
        char* location,
        char* address,
        int port
        );

#### Description

Register the built-in socket driver with the name of the socket driver and a location, host, and port. For example:

        Ns_RegisterLocation("nssock", "http://host:port/",
        "hostname.com", 80)

After this call, the server will immediately begin serving pages from that location, host, and port.

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