i tried to get current system domain ip address using c++ win32 API.
How Can i Achieve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you mean a way to get your public ip behind a NAT, you have to open a socket, bind it and connect to a server and request it to answer you what your ip is. not an easy task.
If you only want to know your private ip, you can read this thread on stackoverflow : Get the IP Address of local computer