mnShutdownClient

This command is used as part of a graceful disconnection procedure.

This command should be used in server state (mnStartServer) or client state (mnConnect).

After using this command no further data can be sent to the specified client or to the server.

mnEnableGracefulDisconnect should be used if this command is to operate properly. For more information on the graceful disconnection procedure see mnEnableGracefulDisconnect.

Parameters

int Instance: This is the instance that the command should use.

int ClientID: This is the client ID that the command should use. This can be ignored in client state and can be set to anything.

Returns (Integer)

0 if no error occurred.

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Networking Commands
(1) Networking
(0) DarkNet Help