RGtk2 (version 2.20.31)

gSrvTargetNew: gSrvTargetNew

Description

Creates a new GSrvTarget with the given parameters.

Usage

gSrvTargetNew(hostname, port, priority, weight)

Arguments

hostname
the host that the service is running on
port
the port that the service is running on
priority
the target's priority
weight
the target's weight

Value

GSrvTarget] a new GSrvTarget.

Details

You should not need to use this; normally GSrvTargets are created by GResolver. Since 2.22