SrvTarget.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string hostname, ushort port, ushort priority, ushort weight)

Creates a new #GSrvTarget with the given parameters.

You should not need to use this; normally #GSrvTargets are created by #GResolver.

Parameters

hostnamethe host that the service is running on
portthe port that the service is running on
prioritythe target's priority
weightthe target's weight

Returns

a new #GSrvTarget.