mnStopConnect

This is used to halt a non blocking connection process mid way through. You can use this after mnConnect where block_until_connected is false.

You must not use mnFinish mid way through a connection process before using mnStopConnect.

This command will stop the connection process and then use mnFinish on the specified instance.

See mnPollConnect for pseudo code demonstrating how to use this command.

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