Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

localhost...

Status
Not open for further replies.

mamu

Programmer
Sep 6, 2001
20
DE
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."
 
...uhmm, well, please forgive me and forget this rtfm-question; found an answer in the qt-toolkit documentation... sorry! -- martin

"No matter how much you know today, you'll have to know more tomorrow."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top