Results 1 to 3 of 3
  1. #1
    arnab321 is offline Member
    Join Date
    Oct 2008
    Posts
    40
    Rep Power
    0

    Default How to open a socket through proxy ?

    e.g. for google.com, we have to open a socket on "socket://google.com:80" and send the request "GET / HTTP/1.1". what connection string and request headers do i have to send to open this site with a proxy, say x.x.x.x on port 9999?

  2. #2
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    7

    Default

    would this link be of any help? Connect through a Proxy - Real's Java How-to

    sorry, but i haven't worked with connections in about a year. don't remember much about them

  3. #3
    arnab321 is offline Member
    Join Date
    Oct 2008
    Posts
    40
    Rep Power
    0

    Default

    ok, thanks for the info...i thought i could just modify the headers to make the connection pass through a proxy. and i want to do this in jme which just ignores the "http.proxyHost" property. Anyways, i have found another, rather long and roundabout solution for this.

Similar Threads

  1. HTTP requests through proxy server
    By manolowar in forum Networking
    Replies: 3
    Last Post: 01-20-2009, 05:52 AM
  2. proxy server
    By guneet singh in forum Networking
    Replies: 1
    Last Post: 01-18-2009, 02:06 PM
  3. IE Browser Proxy detection
    By bhopalpal in forum Networking
    Replies: 0
    Last Post: 08-21-2008, 03:37 PM
  4. proxy server with caching........?
    By 05bit044 in forum Networking
    Replies: 1
    Last Post: 08-03-2008, 09:10 PM
  5. Jakarta FTP via proxy server
    By megalon in forum Networking
    Replies: 0
    Last Post: 07-24-2008, 11:12 AM

Posting Permissions

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