Click to See Complete Forum and Search --> : Search IP range for open Winsock ports


nemesisiv
May 25th, 2001, 05:11 PM
Hey...

I have a dynamic ip address, and I need to be able to create a vb app that will search an array of ip addresses (i.e. 254.169.0.20 to 254.169.0.99 on port 57) to find the correct ip address where my winsock server is located.

Any help would be greatly appreciated.

Thanks,
-nem.

deoblo1
May 25th, 2001, 07:37 PM
Why dont your just ping the array of ip addresses, and whichever one does not time out, there you go...or I could just not understand you.

cksiow
May 25th, 2001, 07:49 PM
yap, ping it will be one of the solution. if you need help in pinging the server programmably, try http://vblib.virtualave.net, there is a function called Ping in vbInternet class of the activeX library.

HTH