Connections behind a proxy server

This is a discussion on Connections behind a proxy server within the Windows Programming forums, part of the Platform Specific Boards category; Hey, Im interested in how i can make socket connections from a network pc based behind a proxy server. If ...

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339

    Connections behind a proxy server

    Hey,

    Im interested in how i can make socket connections from a network pc based behind a proxy server. If i just do it the normal way the connection simply cant be made, also i would like to do it without setting anything on the proxy so its all done from the client socket.

    Thanks
    TNT

  2. #2
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    ok, I assume you know how web proxys work. With that in mind and an assumption that you are using Winsock I'll give a quick rundown of what I know.

    Open a socket with the proxy server on the proxy's port.

    Do a normal HTTP request with GET being an absolute path to the destination (relative obviously can't work)

    You should be able to retrieve the data as normal. It just pipelines your actual request through that one machine with external access.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multiple Connections to a Server
    By niqo in forum Networking/Device Communication
    Replies: 9
    Last Post: 04-03-2008, 10:36 AM
  2. proxy server
    By crvenkapa in forum Tech Board
    Replies: 5
    Last Post: 01-31-2008, 09:48 AM
  3. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 08:04 PM
  4. c++ proxy server?
    By marf in forum C++ Programming
    Replies: 0
    Last Post: 03-16-2003, 08:32 PM
  5. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 02:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21