View source
class SRVRecord
package openfl.net.dns
extends ResourceRecord
Available on AIR, Android, HashLink, Linux, Neko, Windows, iOS, macOS
The SRVRecord class represents a Domain Name System (DNS) SRV resource record containing a service host.
SRV resource records are returned by a DNSResolver object as a result of a DNS lookup on a service locator. More than one record can be returned by a single lookup if more than one service host is available.
Constructor
new()
Creates an SRV resource record.
SRV records are obtained from a DNS lookup using the DNSResolver class. Application code should not create SRVRecord objects.
Variables
priority:Int
The priority of the service host identified by this record.
Lower values are higher priority.