instant messanger like icq over proxy
-
hi! i use one pc to connect to the internet. all other pcs connect over a proxy (janaserver) to the internet-pc to get into the inet. i try to code an small instant messanger like icq for my business. localy everything works fine! but how do i connect from my app to the internet over the proxy? it only works (of course) if i run the messanger-app on my server... i use 2 CAsyncSockets - one for sending, one for listening. i actually use port 80 for send/listen (its easyer to handle while developement). anyone has an idea? sorry for my bad english. not my native language. cheers, vertex
-
hi! i use one pc to connect to the internet. all other pcs connect over a proxy (janaserver) to the internet-pc to get into the inet. i try to code an small instant messanger like icq for my business. localy everything works fine! but how do i connect from my app to the internet over the proxy? it only works (of course) if i run the messanger-app on my server... i use 2 CAsyncSockets - one for sending, one for listening. i actually use port 80 for send/listen (its easyer to handle while developement). anyone has an idea? sorry for my bad english. not my native language. cheers, vertex
-
I am not familiar with the backend of a proxy server. Nonetheless, it should not be difficult since your proxy already works. Now just allow access to the internet IP instead of the LAN IP. Kuphryn
the point is, that my client/server app has to listen, if any connection comes in from the inet. but if there is a message sent from outside my lan, the message is sent to the ip of my dailup-pc. he does not know, that a client pc on the lan is waiting for the message...
-
hi! i use one pc to connect to the internet. all other pcs connect over a proxy (janaserver) to the internet-pc to get into the inet. i try to code an small instant messanger like icq for my business. localy everything works fine! but how do i connect from my app to the internet over the proxy? it only works (of course) if i run the messanger-app on my server... i use 2 CAsyncSockets - one for sending, one for listening. i actually use port 80 for send/listen (its easyer to handle while developement). anyone has an idea? sorry for my bad english. not my native language. cheers, vertex
Check this http://www.codeproject.com/internet/casyncsocketex.asp Papa while (TRUE) Papa.WillLove ( Bebe ) ;
-
Check this http://www.codeproject.com/internet/casyncsocketex.asp Papa while (TRUE) Papa.WillLove ( Bebe ) ;
yes, found that too, but it can only receive information over proxy. but it can´t start a listening socket (a server). im still wondering how icq makes that possible?! i could connect to a script on an http-server and check every second, if new messages arrive - but if more than 10 users check every sec. for new msgs: :zzz: X| - wouldn´t be a real instant messanger... hm... but thank you anyway... :o(