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. internet chat application

internet chat application

Scheduled Pinned Locked Moved C / C++ / MFC
sysadmintutoriallounge
12 Posts 5 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.
  • C chandu004

    i feel that, this post has to be put in web development forum. gud luck.

    _ Offline
    _ Offline
    _tasleem
    wrote on last edited by
    #3

    i don think so :), it is socket based application like msn messenger,it is windows based application not asp/asp.net pages:(, i dont think it should be placed in web based section.

    Regards. Tasleem Arif

    C 1 Reply Last reply
    0
    • _ _tasleem

      hi, all i have made a chat appliction like MSN Messenger that works fine on LAN.it has one Main server application on which all cliens connects,those client send message to each other as well by getting the contact list and listen on port for that contact.Now i want that application to work on internet as well. my confusion is how to get the ip adress and more importantantly port number of differnt clients as some clients are in Private LAN and they will be using router/gateway ipadress instead of own ip adress, and i cannt use their adress and port number. thanks in advance

      Regards. Tasleem Arif

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #4

      _tasleem wrote:

      my confusion is how to get the ip adress and more importantantly port number of differnt clients as some clients are in Private LAN and they will be using router/gateway ipadress instead of own ip adress, and i cannt use their adress and port number.

      For Solving that problem you need Live IP, where you Server application would run. but be cautious it's little costly!

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
      Never mind - my own stupidity is the source of every "problem" - Mixture

      cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

      _ 1 Reply Last reply
      0
      • _ _tasleem

        i don think so :), it is socket based application like msn messenger,it is windows based application not asp/asp.net pages:(, i dont think it should be placed in web based section.

        Regards. Tasleem Arif

        C Offline
        C Offline
        chandu004
        wrote on last edited by
        #5

        i see, gud luck.:-D

        T H 2 Replies Last reply
        0
        • C chandu004

          i see, gud luck.:-D

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #6

          chandu004 wrote:

          i see, gud luck.

          :confused:

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

          1 Reply Last reply
          0
          • C chandu004

            i see, gud luck.:-D

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #7

            Good luck with his problem or good luck to find out answer?;P

            T 1 Reply Last reply
            0
            • _ _tasleem

              hi, all i have made a chat appliction like MSN Messenger that works fine on LAN.it has one Main server application on which all cliens connects,those client send message to each other as well by getting the contact list and listen on port for that contact.Now i want that application to work on internet as well. my confusion is how to get the ip adress and more importantantly port number of differnt clients as some clients are in Private LAN and they will be using router/gateway ipadress instead of own ip adress, and i cannt use their adress and port number. thanks in advance

              Regards. Tasleem Arif

              I Offline
              I Offline
              Iain Clarke Warrior Programmer
              wrote on last edited by
              #8

              I doubt that's going to be all that possible - especially if two clients are behing firewalls. Is it such a problem to have the messages go: clientA<->server<->clientB ? Unless you are sending large files, the traffic and latency should be a non issue. Also, it would allow to have multiple participants in a "conversation" more easily. Iain.

              _ 1 Reply Last reply
              0
              • H Hamid Taebi

                Good luck with his problem or good luck to find out answer?;P

                T Offline
                T Offline
                ThatsAlok
                wrote on last edited by
                #9

                Hamid. wrote:

                Good luck with his problem or good luck to find out answer

                I feel, both :wtf:

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                Never mind - my own stupidity is the source of every "problem" - Mixture

                cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                H 1 Reply Last reply
                0
                • T ThatsAlok

                  Hamid. wrote:

                  Good luck with his problem or good luck to find out answer

                  I feel, both :wtf:

                  "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                  Never mind - my own stupidity is the source of every "problem" - Mixture

                  cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                  H Offline
                  H Offline
                  Hamid Taebi
                  wrote on last edited by
                  #10

                  :-D

                  1 Reply Last reply
                  0
                  • T ThatsAlok

                    _tasleem wrote:

                    my confusion is how to get the ip adress and more importantantly port number of differnt clients as some clients are in Private LAN and they will be using router/gateway ipadress instead of own ip adress, and i cannt use their adress and port number.

                    For Solving that problem you need Live IP, where you Server application would run. but be cautious it's little costly!

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
                    Never mind - my own stupidity is the source of every "problem" - Mixture

                    cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

                    _ Offline
                    _ Offline
                    _tasleem
                    wrote on last edited by
                    #11

                    yes, server will be in live ip but i am talking about those clients which are in the private network or LAN on another organization. i am talking about that situation in which two clients are from different lan, like two persons communation using msn and both are from 2 different private network(LAN's). i hope you understand my point.

                    Regards. Tasleem Arif

                    1 Reply Last reply
                    0
                    • I Iain Clarke Warrior Programmer

                      I doubt that's going to be all that possible - especially if two clients are behing firewalls. Is it such a problem to have the messages go: clientA<->server<->clientB ? Unless you are sending large files, the traffic and latency should be a non issue. Also, it would allow to have multiple participants in a "conversation" more easily. Iain.

                      _ Offline
                      _ Offline
                      _tasleem
                      wrote on last edited by
                      #12

                      yeah, it good idea but what about sip,is that not possible using SIP as well.

                      Regards. Tasleem Arif

                      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