[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "1.6.0" ) ]
public Client.with_port (string? iface, uint16 msearch_port) throws Error
Warning: Client.with_port is deprecated since 1.6.0.
Creates a GSSDP client on iface.
Use [ctor@GSSDP.Client.new_for_address] instead.
GSSDPClient will pick the address it finds suitable for using.
Using this utility function, the created client will be using UDA 1.0 and IPv4 only.
| iface |
The name of the network interface, or null for auto-detection. |
| msearch_port |
The network port to use for M-SEARCH requests or 0 for random. |
|
A new Client object or null on error. |