NetworkService.this

Creates a new #GNetworkService representing the given @service, @protocol, and @domain. This will initially be unresolved; use the #GSocketConnectable interface to resolve it.

  1. this(GNetworkService* gNetworkService, bool ownedRef)
  2. this(string service, string protocol, string domain)
    class NetworkService
    this
    (
    string service
    ,
    string protocol
    ,
    string domain
    )

Parameters

service string

the service type to look up (eg, "ldap")

protocol string

the networking protocol to use for @service (eg, "tcp")

domain string

the DNS domain to look up the service in

Return: a new #GNetworkService

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22