Connecting through a proxy...
How do I go about doing this using Winsock and a windows XP system?
I've written some code that I know works in a non-proxy environment, but now with trying to test it here with the proxy it doesn't connect anymore. It fails here:
The bolded code is where it returns. WSAGetLastError returns WSAETIMEDOUT (10060).
int ircConnect::connectToServer(char* serverName,int port)
So...how do I go about connecting to a proxy? I would assume I just use that same function to connect to the proxy...but then what? How do I send requests through the proxy to the IRC channel?