gSrvTargetNew {RGtk2} | R Documentation

## 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

### Details

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

### Value

[`GSrvTarget`] a new `GSrvTarget`.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]