SrvTarget


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.22" ) ]
public SrvTarget (string hostname, uint16 port, uint16 priority, uint16 weight)

Creates a new SrvTarget with the given parameters.

You should not need to use this; normally SrvTargets are created by Resolver.

Parameters:

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

Returns:

a new SrvTarget.




2022 vala-language.org