SrvTarget.getWeight

Gets target's weight. You should not need to look at this; gio.Resolver already sorts the targets according to the algorithm in RFC 2782.

class SrvTarget
ushort
getWeight
()

Return Value

Type: ushort

target's weight

Meta

Since

2.22