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. The Lounge
  3. Implementation Protocol client / server (C + +) RS232 and Ethernet

Implementation Protocol client / server (C + +) RS232 and Ethernet

Scheduled Pinned Locked Moved The Lounge
sysadminarchitecturequestionlearning
11 Posts 10 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.
  • U User 10916540

    Hello this is my first post and I would like to ask for a hand to all of you! I have to implement an interface for monitoring, this will have two types of connections (RS232 and Ethernet) that can be chosen at the discretion of the user. I would like to create a client / server in C + + but this one has to manage two protocols tcp (ethernet) and one serial (RS232). I can not get a view and be able to define high-level architecture which can then later go to handle only the two protocols (of course the two types of connection can never be used together). Can anyone give me a guideline?? thank you

    N Offline
    N Offline
    Nagy Vilmos
    wrote on last edited by
    #2

    First advice is don't ask questions here. Pop over to Quick Answers[^] and Griff and the Boys will help you out quicker than you can say antidisestablishmentarianism.

    OriginalGriffO D 2 Replies Last reply
    0
    • N Nagy Vilmos

      First advice is don't ask questions here. Pop over to Quick Answers[^] and Griff and the Boys will help you out quicker than you can say antidisestablishmentarianism.

      OriginalGriffO Online
      OriginalGriffO Online
      OriginalGriff
      wrote on last edited by
      #3

      I can't even spell antedis auntidise that word, let alone say it!

      Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      Mike HankeyM R 2 Replies Last reply
      0
      • OriginalGriffO OriginalGriff

        I can't even spell antedis auntidise that word, let alone say it!

        Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

        Mike HankeyM Offline
        Mike HankeyM Offline
        Mike Hankey
        wrote on last edited by
        #4

        All I got was antiblahblahblah

        As I grow older I've found that pleasing everyone is impossible but pissing everyone off is a piece of cake.

        1 Reply Last reply
        0
        • U User 10916540

          Hello this is my first post and I would like to ask for a hand to all of you! I have to implement an interface for monitoring, this will have two types of connections (RS232 and Ethernet) that can be chosen at the discretion of the user. I would like to create a client / server in C + + but this one has to manage two protocols tcp (ethernet) and one serial (RS232). I can not get a view and be able to define high-level architecture which can then later go to handle only the two protocols (of course the two types of connection can never be used together). Can anyone give me a guideline?? thank you

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #5

          You place a drop down with the two protocols and when the user selects one, switch it. This is known as the drop-down methodology of software development.

          OriginalGriffO 1 Reply Last reply
          0
          • U User 10916540

            Hello this is my first post and I would like to ask for a hand to all of you! I have to implement an interface for monitoring, this will have two types of connections (RS232 and Ethernet) that can be chosen at the discretion of the user. I would like to create a client / server in C + + but this one has to manage two protocols tcp (ethernet) and one serial (RS232). I can not get a view and be able to define high-level architecture which can then later go to handle only the two protocols (of course the two types of connection can never be used together). Can anyone give me a guideline?? thank you

            R Offline
            R Offline
            R Giskard Reventlov
            wrote on last edited by
            #6

            Member 10950715 wrote:

            Can anyone give me a guideline??

            Yes; don't post programming questions here: it says so quite clearly above. If you can't read and understand that, what hope do you have?

            "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures

            1 Reply Last reply
            0
            • L Lost User

              You place a drop down with the two protocols and when the user selects one, switch it. This is known as the drop-down methodology of software development.

              OriginalGriffO Online
              OriginalGriffO Online
              OriginalGriff
              wrote on last edited by
              #7

              As opposed to the bottoms up methodology, where all code is written by Nagy?

              Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              R 1 Reply Last reply
              0
              • N Nagy Vilmos

                First advice is don't ask questions here. Pop over to Quick Answers[^] and Griff and the Boys will help you out quicker than you can say antidisestablishmentarianism.

                D Offline
                D Offline
                Dr Walt Fair PE
                wrote on last edited by
                #8

                I am definitely against all antidisestablishmentarianism unless our new robot overlords approve.

                CQ de W5ALT

                Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  As opposed to the bottoms up methodology, where all code is written by Nagy?

                  Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                  R Offline
                  R Offline
                  Roger Wright
                  wrote on last edited by
                  #9

                  Yes, but code written on the bottom of the barstool is rarely usable as is; several pints of debugger are usually required.

                  Will Rogers never met me.

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    I can't even spell antedis auntidise that word, let alone say it!

                    Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                    R Offline
                    R Offline
                    Rob Smiley
                    wrote on last edited by
                    #10

                    its spelled antidistinctlymintymonetarism. no, that's not right..

                    "Great minds discuss ideas; Average minds discuss events; Small minds discuss people" - Eleanor Roosevelt "An eye for an eye only ends up making the whole world blind" - Mohandas Gandhi

                    1 Reply Last reply
                    0
                    • U User 10916540

                      Hello this is my first post and I would like to ask for a hand to all of you! I have to implement an interface for monitoring, this will have two types of connections (RS232 and Ethernet) that can be chosen at the discretion of the user. I would like to create a client / server in C + + but this one has to manage two protocols tcp (ethernet) and one serial (RS232). I can not get a view and be able to define high-level architecture which can then later go to handle only the two protocols (of course the two types of connection can never be used together). Can anyone give me a guideline?? thank you

                      T Offline
                      T Offline
                      TheGreatAndPowerfulOz
                      wrote on last edited by
                      #11

                      Use carrier pigeons

                      If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
                      You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun
                      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein

                      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