SrvTarget.getWeight

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

Return: @target's weight

class SrvTarget
ushort
getWeight
()

Meta

Since

2.22