I am writing a client server application. I would like the client and server to be able to communicate over a firewall. To ensure compatibility with all firewalls, I would like the following:

- The server is running on port 80 of a remote machine

- The client should be able to connect to the server via the http port on the proxy.

I believe that http goes over a TCP connection, so theoretically I should be able to fool the proxy into thinking that my client server connection is a normal http link.

My question is what commands (protocol) do I use to access the proxy. For example do I simply make a connection to my proxy using 127.0.0.1:80 Specifically:

- How do I tell the proxy the address (and port) of the remote machine?

- Will it allow me to establish a TCP link to the machine or will the link be via the proxy?

Thanks!!!