Possible Duplicate:
Can I get the names of all the domains a Linux computer is connected to in C++?
Hi
My Linux machine is connected (by external NICs) to 2 external domains. I want to discover in my linux c++ application all the names of domains my machine is connected to. how can I get all these names?
BTW: if getnameinfo can do it - it doesn't work for me. please suggest another answer.
PLEASE ATTACH CODE EXAMPLE
10x!