mnGetUDPMode

This is used in both server (mnStartServer) and client (mnConnect) state.

The client retrieves the UDP mode during the connection handshaking process. The server sets this value during mnStartServer.

See “Unreliable (UDP)” for more information on UDP modes.

Parameters

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

Returns (Char)

The UDP mode that we are in if no error occurred.

1 = UM_PER_CLIENT

2 = ‘Per client per operation’

3 = UM_CATCH_ALL

4 = UM_CATCH_ALL_NO

If using C++, these constants are available:

UM_PER_CLIENT

UM_PER_CLIENT_PER_OPERATION

UM_CATCH_ALL

UM_CATCH_ALL_NO

-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