Anyone know how to get TCP/IP address? 
Author Message
 Anyone know how to get TCP/IP address?

I am trying to obtain the TCP/IP address on remote computers (I already
know how to get the local IP address).  Can anyone point me in the right
direction?

Thanks,

Kyle



Mon, 19 Mar 2001 03:00:00 GMT  
 Anyone know how to get TCP/IP address?
Mabry's GetHST can translate host names to IP addresses and IP addresses to
host names.  You can find them at www.mabry


Fri, 23 Mar 2001 03:00:00 GMT  
 Anyone know how to get TCP/IP address?


Quote:
>I am trying to obtain the TCP/IP address on remote computers (I already
>know how to get the local IP address).  Can anyone point me in the right
>direction?

There's a couple of approaches that you could take. One would be to
use the Windows Sockets API directly, calling gethostbyname().
However, in Visual Basic, this can be somewhat difficult because you
have to deal with structures, pointers, etc.

If you're simply looking to resolve hostnames into IP addresses, then
you can download our free SocketWrench package which includes a
Windows Sockets control. To do what you want would just take a few
lines of code (look at the HostName and HostAddress properties). You
can download it from our site at http://www.catalyst.com.

If you're looking to do more DNS specific things (like MX record
lookups, etc.) then we have a control as part of our commercial
SocketTools package that can do this as well.



Sat, 24 Mar 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Getting TCP/IP address from computer name

2. TCP/IP IP address and multiple adapters

3. : TCP/IP address via email address

4. : TCP/IP address via email address

5. Getting the ip address based on the MAC Address

6. Getting a machine's MAC address given a NETBIOS machine name or IP address

7. tcp/ip recommendations anyone?

8. TCP/IP address detection for log file

9. changing TCP/IP address with VB6

10. Setting TCP/IP Address

11. TCP/IP address ?

12. TCP/IP Address retrieval

 

 
Powered by phpBB® Forum Software