Thread: proxy

  1. #1
    Samuel shiju's Avatar
    Join Date
    Dec 2003
    Posts
    41

    proxy

    I am writing a programme which dowloads a html file from the internet. I have a fair knowledge of socket programming. I wanted to know how do i do this through a proxy server in between?

  2. #2
    Registered User
    Join Date
    Feb 2004
    Posts
    46
    You must establish a socket connection to the proxy server and request that it connect to the external server for you. This request is part of the HTTP protocol. See RFC 2616 of the HTTP specification for more details.

  3. #3
    Deleted Account
    Join Date
    Jan 2004
    Posts
    40

    Re: proxy

    Originally posted by shiju
    I am writing a programme which dowloads a html file from the internet. I have a fair knowledge of socket programming. I wanted to know how do i do this through a proxy server in between?
    If it's a HTTP proxy then:
    Code:
    GET http://url.com/url/ HTTP/1.1

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. proxy.pac (proxy auto config) question
    By boreder in forum C Programming
    Replies: 2
    Last Post: 01-20-2009, 03:13 AM
  2. Force connection through proxy
    By ShadowBeast in forum C# Programming
    Replies: 6
    Last Post: 05-02-2007, 01:35 PM
  3. Simple Proxy
    By Lina in forum C Programming
    Replies: 0
    Last Post: 04-01-2007, 12:36 PM
  4. Connecting through a proxy...
    By jverkoey in forum Networking/Device Communication
    Replies: 1
    Last Post: 07-20-2005, 11:53 AM