[JDEV] Need Help
raj H.C kumar
hcraj at lycos.com
Mon Jan 1 01:16:17 CST 2001
hello ,
i am working on instant messenger project. i need help regarding proxy server.
i want client should connect server throiugh proxy . please tell me how to do it in VC++ client
this is the code we are using to connect 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.150");
temp1 = connect (sockstrct1,(LPSOCKADDR) &addrServer,sizeof (addrServer));
}
Get FREE Email/Voicemail with 15MB at Lycos Communications at http://comm.lycos.com
More information about the JDev
mailing list