Context


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "1.6." ) ]
public Context (string? iface, uint port) throws Error

Warning: Context is deprecated since 1.6..

Create a new Context with the specified iface and port.

Note:

Use [ctor@GUPnP.Context.new_for_address] instead

Parameters:

iface

The network interface to use, or null to auto-detect.

port

Port to run on, or 0 if you don't care what port is used.

Returns:

A new Context object, or null on an error