Instant Messaging System

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lalejo83
    New Member
    • Jul 2007
    • 10

    #1

    Instant Messaging System

    Can someone please tell me how to create a Instanstant messenger. and how to get started please. the is serious
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by lalejo83
    Can someone please tell me how to create a Instanstant messenger. and how to get started please. the is serious
    Do you want to make your own chat software or do you want to create an IM account to chat with your buddies?

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by lalejo83
      Can someone please tell me how to create a Instanstant messenger. and how to get started please. the is serious
      Why did you post this in the C/C++ forum as well? What do you want to create and how?

      kind regards,

      Jos

      Comment

      • lalejo83
        New Member
        • Jul 2007
        • 10

        #4
        Originally posted by r035198x
        Do you want to make your own chat software or do you want to create an IM account to chat with your buddies?
        I am posting exactly what I have to do ok. I truly and greatly appreciate this.

        Group Instant Messenger (GIM)
        The aims of this project include
        • Practice the use of threads, sockets, and semaphore
        • Get deeper understanding of distributed process/thread cooperation, communication protocol design and so on.

        You will implement a simple, client-server Group Instant Messenger (GIM) system. You may use C/C++, Java on either Linux/UNIX or Windows. You may hunt for any source code or documents useful by Google. However, when you use them directly in coding, please give the references in comments.

        Compulsory features:
        1. Multiple clients real-time chatting
        o A user can invite other on-line users to join the group chatting.
        o A user automatically joins the group chatting if the other side is chatting with somebody else
        2. Client registration (to get an account) and deregistration (to terminate an account)
        3. Friend sign-in and sign-out indications (required for graduate students)
        o The client can only chat with friends. In group chatting, the message sent to the group can only be received by the sender’s friends.
        4. Login and password management (required for graduate students)

        Optional features:
        1. GUI: A graphical user interface instead text-based.
        2. File sharing: Send files to other client(s).
        3. Offline messages: When the user is offline, another user can still message her. The next time when she logins, the messages will be displayed.

        If your group would like to implement other optional features that are not listed above, you have to include all these optional features before adding others to it.

        Help is definitely needed. I need to present this in September in order to graduate. Thanks your the best if you can help

        Comment

        • lalejo83
          New Member
          • Jul 2007
          • 10

          #5
          Originally posted by JosAH
          Why did you post this in the C/C++ forum as well? What do you want to create and how?

          kind regards,

          Jos
          This is my assignment exactly:
          Group Instant Messenger (GIM)
          The aims of this project include
          • Practice the use of threads, sockets, and semaphore
          • Get deeper understanding of distributed process/thread cooperation, communication protocol design and so on.

          You will implement a simple, client-server Group Instant Messenger (GIM) system. You may use C/C++, Java on either Linux/UNIX or Windows. You may hunt for any source code or documents useful by Google. However, when you use them directly in coding, please give the references in comments.

          Compulsory features:
          1. Multiple clients real-time chatting
          o A user can invite other on-line users to join the group chatting.
          o A user automatically joins the group chatting if the other side is chatting with somebody else
          2. Client registration (to get an account) and deregistration (to terminate an account)
          3. Friend sign-in and sign-out indications (required for graduate students)
          o The client can only chat with friends. In group chatting, the message sent to the group can only be received by the sender’s friends.
          4. Login and password management (required for graduate students)

          Optional features:
          1. GUI: A graphical user interface instead text-based.
          2. File sharing: Send files to other client(s).
          3. Offline messages: When the user is offline, another user can still message her. The next time when she logins, the messages will be displayed.

          If your group would like to implement other optional features that are not listed above, you have to include all these optional features before adding others to it.

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #6
            Originally posted by lalejo83
            This is my assignment exactly:
            Group Instant Messenger (GIM)
            The aims of this project include
            • Practice the use of threads, sockets, and semaphore
            • Get deeper understanding of distributed process/thread cooperation, communication protocol design and so on.

            You will implement a simple, client-server Group Instant Messenger (GIM) system. You may use C/C++, Java on either Linux/UNIX or Windows. You may hunt for any source code or documents useful by Google. However, when you use them directly in coding, please give the references in comments.

            Compulsory features:
            1. Multiple clients real-time chatting
            o A user can invite other on-line users to join the group chatting.
            o A user automatically joins the group chatting if the other side is chatting with somebody else
            2. Client registration (to get an account) and deregistration (to terminate an account)
            3. Friend sign-in and sign-out indications (required for graduate students)
            o The client can only chat with friends. In group chatting, the message sent to the group can only be received by the sender’s friends.
            4. Login and password management (required for graduate students)

            Optional features:
            1. GUI: A graphical user interface instead text-based.
            2. File sharing: Send files to other client(s).
            3. Offline messages: When the user is offline, another user can still message her. The next time when she logins, the messages will be displayed.

            If your group would like to implement other optional features that are not listed above, you have to include all these optional features before adding others to it.
            I like the "You may hunt for any source code or documents useful by Google" best. So they're giving you a googling test these days?

            Comment

            • lalejo83
              New Member
              • Jul 2007
              • 10

              #7
              Can you help me please. This is serious stuff. I need this to graduated. And I am getting stressed out from this. PLEASE!

              Comment

              • JosAH
                Recognized Expert MVP
                • Mar 2007
                • 11453

                #8
                Mark the relevant nouns in your assignment text; most of them will be the classes
                in your chat system. Mark the relevant verbs in that text afterwards; most of them
                will be the public methods of those classes.

                There's a single server that has to handle some bookkeeping: (un)registerd users
                that should be able to (de)register. Groups and friends play a part too.

                Next play a CRC game (Classes, Responsibilitie s, Collaboration). You can play
                that game in your head or using simple scribbling paper. Figure out who (class)
                does what (responsibility ) and who does it need for it (collaboration) .

                Communication using Java is easy: go for simple Sockets.

                Start designing; the assignment sounds like fun to me.

                kind regards,

                Jos

                Comment

                • lalejo83
                  New Member
                  • Jul 2007
                  • 10

                  #9
                  Where would I purchase a server.

                  Comment

                  • JosAH
                    Recognized Expert MVP
                    • Mar 2007
                    • 11453

                    #10
                    Originally posted by lalejo83
                    Where would I purchase a server.

                    You mean the hardware? Any ordinary PC would fo fine as long as it is hooked
                    up to some network. If you're talking software you're supposed to write it yourself.

                    kind regards,

                    Jos

                    Comment

                    • blazedaces
                      Contributor
                      • May 2007
                      • 284

                      #11
                      Originally posted by lalejo83
                      Where would I purchase a server.
                      To add to Jos' remarks I suggest just using some really old computer you hardly use anymore and put some linux distro on it.

                      Comment

                      • nomad
                        Recognized Expert Contributor
                        • Mar 2007
                        • 664

                        #12
                        Originally posted by lalejo83
                        Can someone please tell me how to create a Instanstant messenger. and how to get started please. the is serious
                        Hey I might be in the same boat as you.
                        We are thinking of having a live chat for my company ie on-line help.

                        nomad

                        Comment

                        • r035198x
                          MVP
                          • Sep 2006
                          • 13225

                          #13
                          Thread renamed

                          Comment

                          Working...