Client
Object Hierarchy:
Description:
[
CCode ( type_id =
"gssdp_client_get_type ()" ) ]
public class Client :
Object,
Initable
A simple SSDP bus handler.
The [class@GSSDP.Client] will usually be used by the [class@GSSDP.ResourceGroup] for announcing or the [class@GSSDP.ResourceBrowser] for
finding resources on the network.
A GSSDPClient is required per IP address that you want to use, even if those belong t the same network device.
Content:
Properties:
- public string @interface { get; construct; }
The name of the network interface this client is associated with.
- public bool active { get; set; }
Whether this client is active or not (passive).
- public InetAddress address { owned get; construct; }
The network address this client is bound to.
- public SocketFamily address_family { get; construct; }
The IP protocol address family this client works on.
- public bool allocate_tcp_socket { get; set construct; }
The whether to allocate a TCP socket.
- public int boot_id { get; set construct; }
The value of the BOOTID.
- public int config_id { get; set construct; }
The value of the CONFIGID.
- public string host_ip { get; construct; }
The IP address of the assoicated network interface.
- public InetAddressMask host_mask { owned get; construct; }
The network mask of the assoicated network interface.
- public uint msearch_port { get; construct; }
UDP port to use for sending multicast M-SEARCH requests on the
network.
- public string network { get; construct; }
The network this client is currently connected to.
- public uint port { get; construct; }
UDP port to use for sending multicast M-SEARCH requests on the
network.
- public string server_id { get; set; }
The SSDP server's identifier.
- public uint socket_ttl { get; construct; }
Time-to-live value to use for all sockets created by this client.
- public Socket tcp_socket { owned get; }
The allocated TCP socket bound to the same port as [property@GSSDP.
- public UDAVersion uda_version { get; construct; }
The UPnP version the client adheres to.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface GLib.Initable