Find IP address of a remote host 
Author Message
 Find IP address of a remote host

Find IP address of a remote

Hi. I'm trying to create a script that will return the IP address of a
remote host using MSWinsock. Here's my code:

Dim ipSock
Dim remoteHost
Dim remotePort
remoteHost = "your.url.here"
remotePort = 23
Set ipSock=CreateObject("MSWinsock.Winsock")
ipSock.Connect remoteHost, remotePort
MsgBox ipSock.RemoteHostIP
Set ipSock = Nothing

Any ideas?



Mon, 07 May 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Retrieving IP address from Remote host

2. host network ip address

3. Get the Host IP address

4. IP Address and Host?

5. RPC Service unavailable after changing remote IP address using EnableStatic function

6. Find out IP address of URL.

7. finding a client's ip address

8. Finding my IP Address

9. finding ip addresses

10. Find IP address for a given Server Name

11. Finding the IP address of a client

12. Finding my IP Address

 

 
Powered by phpBB® Forum Software