SrvTarget.getWeight

ushort getWeight() nothrow

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

Returns

target's weight