Thread: how to program through proxy?

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    11

    how to program through proxy?

    my computer is in a LAN,so my IE is set a proxy(eg:192.168.0.1,it has another ip to visited internet) to visit Internet, and i know that in Internet ,there is a IP (111,222.111.222,port 8080) can be used as a http proxy.if i want to visit a url just like www.abc.com,how can i program to visit www.abc.com through my proxy() and another proxy (111.222.111.111)?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    One solution is via winsock. First connect to the proxy. Then connect to the web server.

    Kuphryn

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    11
    thx,but if i via winsock i could not control the soft on the proxy, i do not want any other soft but my soft to do it,just connect to my LAN proxy(192.168.0.1) ,then web proxy(eg 111.222.111.222) ,at last to the target (eg.www.abc.com)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. Force connection through proxy
    By ShadowBeast in forum C# Programming
    Replies: 6
    Last Post: 05-02-2007, 01:35 PM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM