Function

Purplenetwork_discover_my_ip

Declaration [src]

void
purple_network_discover_my_ip (
  void
)

Description [src]

Discovers the IP address that should be used anywhere a public IP addresses is needed (listening for an incoming file transfer, etc).

If the user has manually specified an IP address via preferences, then this is used. Otherwise STUN, UPnP, and NAT-PMP will be attempted to discover the local IP address depending on what’s available.

Available since:3.0.0