Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. instant messanger like icq over proxy

instant messanger like icq over proxy

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++sysadminbusinesslearning
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mightyCoCo
    wrote on last edited by
    #1

    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

    V J 2 Replies Last reply
    0
    • M mightyCoCo

      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

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      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

      M 1 Reply Last reply
      0
      • V valikac

        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

        M Offline
        M Offline
        mightyCoCo
        wrote on last edited by
        #3

        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...

        1 Reply Last reply
        0
        • M mightyCoCo

          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

          J Offline
          J Offline
          jmkhael
          wrote on last edited by
          #4

          Check this http://www.codeproject.com/internet/casyncsocketex.asp Papa while (TRUE) Papa.WillLove ( Bebe ) ;

          M 1 Reply Last reply
          0
          • J jmkhael

            Check this http://www.codeproject.com/internet/casyncsocketex.asp Papa while (TRUE) Papa.WillLove ( Bebe ) ;

            M Offline
            M Offline
            mightyCoCo
            wrote on last edited by
            #5

            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(

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups