Creates a new gio.SrvTarget with the given parameters.
You should not need to use this; normally gio.SrvTargets are created by gio.Resolver
the host that the service is running on
the port that the service is running on
the target's priority
the target's weight
a new gio.SrvTarget
ConstructionException GTK+ fails to create the object.
2.22
Creates a new gio.SrvTarget with the given parameters.
You should not need to use this; normally gio.SrvTargets are created by gio.Resolver