mnDisconnectClient

This is used in both client and server state. In server state it will forcefully drop the specified client in a non graceful manor. In client state it does the same as mnFinish to the specified instance.

Parameters

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

int ClientID: This is the client ID of the client to disconnect. 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