mnGetConnectIPUDP

This is used in client state (mnConnect). This value is set during mnConnect.

C++ users: the memory for the returned string is managed by winsock. It is only guaranteed to remain valid before the next DarkNet command that uses winsock. In other words, if you want to use the address later on you should copy it to memory allocated by you. Note that because memory to the return string is allocated by winsock, you do not need to deallocate it yourself.

Parameters

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

Returns (Char*)

The IP that the client is connected to via UDP if no error occurred.

An empty string if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Networking Commands
(1) Networking
(0) DarkNet Help