Benny Prijono schrieb: > On 1/15/08, *Klaus Darilion* <klaus.mailinglists at pernau.at > <mailto:klaus.mailinglists at pernau.at>> wrote: > > > I think there is no easier way. I've checked ares resolver (part of > resiprocate) and they are doing it the same way: > - GetNetworkParams on Windows > - parsing /etc/resolv.conf on Unix > > Ares further suports MacOS. > > IMO it would be real cool if pjlib supports getting nameserver > config too. > > > Thanks for the info and the vote. I've added > http://trac.pjsip.org/repos/ticket/450 > <http://trac.pjsip.org/repos/ticket/450> for this, hopefully it can be > done soon. > > PS: I have attached how I have done it in Windows. > > > Ugh, it has QString! ;-) only in deug/logging code - just comment it. klaus