by gaetan [gaetan dot guttermann at free dot fr] posted on 2004/12/03 |
|
Congrat. for your handy SocketProxy Class(very clean code...)
The ProxyType member can be set to either none, socks4, or socks5, but there is no ProxyType.HTTP...
I'm working on a client app needing to have a socket remaining connected to a server in the "outside world" thru an HTTP proxy (tunneling). very similar to MSN Messenger or any other chat client...
How can I proceed? Is it even possbile to keep a socket connected under HTTP?
I found a trick on the web to full the proxy, pretending your are establishing a HTTPS connection, but transferring non text data instead, is it a track I should follow or is it only a work around?
Here is the link I refer to above:
www.codeguru.com/Cpp/I-N/internet/http/article.php/c6209/
Thanks a lot. |