![]() |
| | #1 |
| Registered User Join Date: Nov 2001
Posts: 5
| Any idea on if a valid IP address is entered, the corresponding host name is returned and if a hostname is entered, the corresponding IP address is returned. Thanks in advance. Johnny |
| jchanwh is offline | |
| | #2 |
| Just one more wrong move. Join Date: Aug 2001
Posts: 3,232
| I think the functions are GetHostByName() and GetHostByAddr() (it could be GetHostByAddress(), though) hope that helps.
__________________ Gays can't love like real people entropysink.com -- because arses weren't designed for running websites. |
| -KEN- is offline | |
| | #3 |
| Registered User Join Date: Apr 2002
Posts: 2
| mail me i will give u the code |
| amit_ary is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Converting 32 bit binary IP to decimal IP (vice-versa) | Mankthetank19 | C Programming | 15 | 12-28-2009 07:17 PM |
| getting ip by hostname | NiSA | Networking/Device Communication | 2 | 05-26-2007 10:56 PM |
| obtain hostname or IP | afisher | Networking/Device Communication | 3 | 12-01-2004 07:46 AM |
| Outputting your IP and hostname | Nakeerb | C++ Programming | 4 | 10-21-2002 08:24 PM |