Home > PHP > Function > Gupnp > gupnp_control_point_new()

gupnp_control_point_new()

gupnp_control_point_new - Create a new control point

Syntax

resource gupnp_control_point_new (resource $context, string $target)

Arguments

  • context - A context identifier, returned by gupnp_context_new().
  • target - The search target. target should be a service or device name, such as urn:schemas-upnp-org:service:WANIPConnection:1 or urn:schemas-upnp-org:device:MediaRenderer:1.

Description

Create a new control point with the specified target.

Version

PHP PECL gupnp >= 0.1.0

Return value

A control point identifier.