How to get IP Address?
Hi, everybody!
Can you tell me how to get ip address and subnet mask of my own computer?
I need it to send broadcast message...
I use Microsoft Visual C++ 6.0 and Winsock 2.
Thanx :)
I think the getaddrinfo function is what you are looking for. You can look it up on MSDN. I'm not sure if it can give you the subnet mask, though...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement