Home > PHP > Function > Gupnp > gupnp_context_get_host_ip()

gupnp_context_get_host_ip()

gupnp_context_get_host_ip - Get the IP address

Syntax

string gupnp_context_get_host_ip (resource $context)

Arguments

  • context - A context identifier, returned by gupnp_context_new().

Description

Get the IP address we advertise ourselves as using.

Version

PHP PECL gupnp >= 0.1.0

Return value

Returns the IP address for the current context and FALSE on error.