• Welcome to Valhalla Legends Archive.
 

[c++]using proxies

Started by mentalCo., June 20, 2004, 02:03 PM

Previous topic - Next topic

mentalCo.

when connected to a socks4 proxy i was told to send "CONNECT ip:port HTTP/1.1\r\n\r\n"

the problem with that is it doesnt work.  how do you use a proxy?

shadypalm88

Quote from: mentalCo. on June 20, 2004, 02:03 PM
when connected to a socks4 proxy i was told to send "CONNECT ip:port HTTP/1.1\r\n\r\n"

the problem with that is it doesnt work.  how do you use a proxy?
That looks more like HTTP proxy connections.

You should check out the SOCKS 4 protocol specification.  You just handshake with the SOCKS server and once it says things are OK, you start sending packets to Battle.Net just like you would with no proxy involved.

mentalCo.

#2
word.