Results 1 to 3 of 3

Thread: inet: proxy

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    USA
    Posts
    37

    Lightbulb

    I want to connect to the internet w/ the inet control and use a list of proxies in a txt. file. I want the inet to connect to the internet using a random proxy from the list. How can this be done?

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Load the textfile in an array using Open File For Binary...
    and the split function (you could split it with VbCrLf as delimeter), and then pick a random array-item (with Rnd and Randomize), then just set the Inet1.Proxy to the Array-Item you just selected and done!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    USA
    Posts
    37

    Question

    Can anyone post some source code for this question? I'm just a newbie.

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