Hi all,
does anyone of you know how to figure out if an user-supplied ip is the ip of the machine my app is running (that means, localhost) or if it is an ip of a remote host? i'm using C++ with the QT Toolkit...
problem is i need an platform independent mechanism, because my app should be portable between linux and windows (btw. no, i'm not insane, i'm just in deep
trouble). Anyway, if you have a platform dependent mechanism, post it, THANX!
thanx in advance, martin -- martin
"No matter how much you know today, you'll have to know more tomorrow."
does anyone of you know how to figure out if an user-supplied ip is the ip of the machine my app is running (that means, localhost) or if it is an ip of a remote host? i'm using C++ with the QT Toolkit...
problem is i need an platform independent mechanism, because my app should be portable between linux and windows (btw. no, i'm not insane, i'm just in deep
trouble). Anyway, if you have a platform dependent mechanism, post it, THANX!
thanx in advance, martin -- martin
"No matter how much you know today, you'll have to know more tomorrow."