Home > PHP > Function > Gupnp > gupnp_context_get_port()

gupnp_context_get_port()

gupnp_context_get_port - Get the port

Syntax

int gupnp_context_get_port (resource $context)

Arguments

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

Description

Get the port that the SOAP server is running on.

Version

PHP PECL gupnp >= 0.1.0

Return value

Returns the port number for the current context and FALSE on error.