Context


Description:

[ CCode ( has_construct_function = false ) ]
public Context (MainContext? main_context, string? iface, uint port) throws Error

Create a new Context with the specified main_context, iface and port.

Parameters:

main_context

Deprecated: 0.17.2: Always set to null. If you want to use a different context, use push_thread_default.

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




2022 vala-language.org