--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Try executing this "getprop net.dns1" and get the output.
You can probably use popen or send the output to a file (eg: getprop
net.dns1 > dns.txt) and then read the file dns.txt.