mnDisableTCPHandshake

This command disables the TCP handshake.

This command should be used before initializing an instance in server state (mnStartServer) or client state (mnConnect).

For connections to complete successfully TCP handshake must be disabled on both the server and client side.

This command also disables UDP in the same way that mnDisableUDP does. This occurs because the TCP handshake is necessary for a successfully UDP operation to be setup.

The following commands will not function properly on the client side (mnConnect) when TCP handshake is disabled:

- mnGetClientID

- mnGetMaxOperations

- mnGetMaxClients

- any UDP commands

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