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

Ns_Shutdown

Overview

Shut down server and optionally re-start it

Syntax

    int NS_Shutdown(
      int timeout, 
      int restart
    );

Description

The timeout argument specifies a time limit (in seconds) in which the server is to shut down. If the server hasn't shut down within the time limit, it is immediately stopped, aborting any active connections.

If restart is NS_TRUE, the server is re-started after it is shut down. Pass zero or NS_FALSE to specify that the server not be re-started.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.