Home --> Documentations --> PJLIB-UTIL Reference

Data Fields

Data Fields

unsigned count
 
struct {
   unsigned   priority
 
   unsigned   weight
 
   pj_uint16_t   port
 
   pj_dns_addr_record   server
 
entry [PJ_DNS_SRV_MAX_ADDR]
 

Detailed Description

This structure represents DNS SRV records as the result of DNS SRV resolution using pj_dns_srv_resolve().

Field Documentation

unsigned pj_dns_srv_record::count

Number of address records.

struct { ... } pj_dns_srv_record::entry[PJ_DNS_SRV_MAX_ADDR]

Address records.

pj_uint16_t pj_dns_srv_record::port

Port number.

unsigned pj_dns_srv_record::priority

Server priority (the lower the higher the priority).

pj_dns_addr_record pj_dns_srv_record::server

The host address.

unsigned pj_dns_srv_record::weight

Server weight (the higher the more load it can handle).


The documentation for this struct was generated from the following file:

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.