SrvTarget.this

Creates a new GSrvTarget with the given parameters. You should not need to use this; normally GSrvTargets are created by GResolver. Since 2.22

  1. this(GSrvTarget* gSrvTarget)
  2. this(string hostname, ushort port, ushort priority, ushort weight)
    class SrvTarget
    this
    (
    string hostname
    ,
    ushort port
    ,
    ushort priority
    ,
    ushort weight
    )

Parameters

hostname string

the host that the service is running on

port ushort

the port that the service is running on

priority ushort

the target's priority

weight ushort

the target's weight

Throws

ConstructionException GTK+ fails to create the object.

Meta