[JDEV] Need Help
Michael F Lin
Michael_F_Lin at us.ibm.com
Mon Jan 1 11:02:59 CST 2001
Have a look at the SOCKS protocol documents at:
http://www.socks.nec.com/socksprot.html
-Mike
"raj H.C kumar" <hcraj at lycos.com>@jabber.org on 01/01/2001 02:16:17 AM
Please respond to jdev at jabber.org
Sent by: jdev-admin at jabber.org
To: jdev at jabber.org
cc:
Subject: [JDEV] Need Help
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
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list