How to connect vc++ client to the server through the proxy server?
Presently the following code is used to connect directly to the server.
void CMySocket::connection()
{
int temp1;
sockstrct1 = socket (AF_INET, SOCK_STREAM,0);
struct sockaddr_in addrServer;
addrServer.sin_family = AF_INET;
addrServer.sin_port = htons (5000);
addrServer.sin_addr.s_addr=inet_addr(“204.23.13.200”);
temp1 = connect (sockstrct1,(LPSOCKADDR) &addrServer,sizeof (addrServer));
}