Retrieving DNS SRV records on Android using service name -


on android want find list of records using service name. have tried api's dnsjava , jmdns returned empty results. have come across similar question no 1 has answered either:

lightweight way resolve dns srv records on android

you can use dnsjava library , use lookup class purpose. like:

string recordname = _name._tcp.domainname.;

lookup lookup = new lookup(recordname, type.srv);

records recs[] = lookup.run();


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -