|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
int Ns_RegisterLocation (char* name,char* location,char* address,int port);
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.