mnGetState

This value is set during mnConnect, mnStartServer and mnStartBroadcast.

Parameters

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

Returns (Char)

The state that the instance is in if no error occurred:

1 = Server

2 = Client

3 = Broadcast

C++ users: these constants are available:

STATE_SERVER

STATE_CLIENT

STATE_BROADCAST

-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