CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Location
    Oregon
    Posts
    3

    Search IP range for open Winsock ports

    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.



  2. #2
    Join Date
    Mar 2001
    Posts
    5

    Re: Search IP range for open Winsock ports

    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.


  3. #3
    Join Date
    Apr 2000
    Posts
    737

    Re: Search IP range for open Winsock ports

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured