mnDisableUDP

This is used to disable UDP. No UDP commands can be used when UDP is disabled.

You should use this whenever you are not using UDP in client state (mnConnect) and server state (mnStartServer).

If UDP is disabled on the server, but not on the client (or the other way around) then the client’s connection attempt will always fail.

This command must be used when the instance is uninitialized.

Parameters

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

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