RestartServer

Reboots a server that has been halted by calling StopServer.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h>
  
  void RestartServer (
     const char *commandLine);
  

Parameters

commandLine

(IN) Points to the command to issue (once processing reaches DOS). This can be a length-preceded string.

Remarks

StopServer must be called before calling RestartServer.

If you want the server to be brought down and not rebooted after calling StopServer, call ShutdownServer instead.

The following is an example of how you might call RestartServer:

  RestartServer("\x06" "server");
  

See Also

StopServer