Is there a way of retrieving my own IP address by using windows sockets?
Is there a way of retrieving my own IP address by using windows sockets?
not too easy to get dynamic internet ip via pure winsock
static or dynamic?
Kuphryn
Either dynamic and static.
static ip
check out msdn for winsock api to get network ip address or router api (system is connected to the internet via router)
dynamic ip
one approach is to connect to an external server such as webserver and log if host broadcasts the ip address
Kuphryn