Halts all server processing.
#include <netware.h>
int ShutdownServer (
scr_t scrID,
uint8_t forceDown,
const char *alternateMessage,
unsigned long flags);
Specifies a screen, such as your own private screen (if that is where management is being controlled from) or a system console screen ID. To specify the system console, pass 0.
Specifies whether to bring the server down without sending a notification to NLM applications that have registered for a “down server event” notification:
Points to a null-terminated ASCII string that contains a message to send to all logged-in remote connections. If NULL is passed, the default message (“File Server %s is down. Connection terminated.”) is broadcast to each logged-in client. This string must be shorter than 100 characters.
Specifies how the server should shutdown with one of the following flags: