WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

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

pj_dns_srv_record Struct Reference
[DNS SRV Resolution Helper]

Data Fields

unsigned count
struct {
   unsigned   priority
   unsigned   weight
   pj_uint16_t   port
   pj_dns_a_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

Number of address records.

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

Address records.

Server priority (the lower the higher the priority).

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.