Function

Purplenetwork_set_public_ip

since: 2.0

Declaration [src]

void
purple_network_set_public_ip (
  const char* ip
)

Description [src]

Sets the IP address of the local system in preferences. This is the IP address that should be used for incoming connections (file transfer, direct IM, etc.) and should therefore be publicly accessible.

Available since: 2.0

Parameters

ip

Type: const char*

The local IP address.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.