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. Best communication Protocol

Best communication Protocol

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminquestion
4 Posts 4 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.
  • S Offline
    S Offline
    Spiros
    wrote on last edited by
    #1

    Hi everybody I am developing a windows project that will have as front-end devices instead of pcs , windows terminals. As a result the amount of resources will be limited. The server where the executebles will be located is a Citrix-XP server. Imagine that I plan to have a menu from where other executables will be called. As a result many time it will be necessary to pass data from the menu to the other executable and the opposite. So I am loooking for the most efficient way to achieve this data transfer. So far I have tried Name Pipes and it seems ok. Is TCP/IP another choice or in that case the need of resources will be bigger? I will appreciate any suggestion from you guys. Regards Spiros Prantalos

    D P V 3 Replies Last reply
    0
    • S Spiros

      Hi everybody I am developing a windows project that will have as front-end devices instead of pcs , windows terminals. As a result the amount of resources will be limited. The server where the executebles will be located is a Citrix-XP server. Imagine that I plan to have a menu from where other executables will be called. As a result many time it will be necessary to pass data from the menu to the other executable and the opposite. So I am loooking for the most efficient way to achieve this data transfer. So far I have tried Name Pipes and it seems ok. Is TCP/IP another choice or in that case the need of resources will be bigger? I will appreciate any suggestion from you guys. Regards Spiros Prantalos

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      If all the .EXE run in the same machine you could use memory mapping. My latest articles: XOR tricks for RAID data protection Win32 process suspend/resume tool

      1 Reply Last reply
      0
      • S Spiros

        Hi everybody I am developing a windows project that will have as front-end devices instead of pcs , windows terminals. As a result the amount of resources will be limited. The server where the executebles will be located is a Citrix-XP server. Imagine that I plan to have a menu from where other executables will be called. As a result many time it will be necessary to pass data from the menu to the other executable and the opposite. So I am loooking for the most efficient way to achieve this data transfer. So far I have tried Name Pipes and it seems ok. Is TCP/IP another choice or in that case the need of resources will be bigger? I will appreciate any suggestion from you guys. Regards Spiros Prantalos

        P Offline
        P Offline
        Paul M Watt
        wrote on last edited by
        #3

        In all honesty, I think that named pipes are implemented with TCP/IP underneath if you are remoting to a separate machine and memory mapped files if it is a local machine. So I would say what ever you are more comfortable with. Good Luck.


        Build a man a fire, and he will be warm for a day
        Light a man on fire, and he will be warm for the rest of his life!

        1 Reply Last reply
        0
        • S Spiros

          Hi everybody I am developing a windows project that will have as front-end devices instead of pcs , windows terminals. As a result the amount of resources will be limited. The server where the executebles will be located is a Citrix-XP server. Imagine that I plan to have a menu from where other executables will be called. As a result many time it will be necessary to pass data from the menu to the other executable and the opposite. So I am loooking for the most efficient way to achieve this data transfer. So far I have tried Name Pipes and it seems ok. Is TCP/IP another choice or in that case the need of resources will be bigger? I will appreciate any suggestion from you guys. Regards Spiros Prantalos

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

          I believe all data transfer over processes in Windows make use of file-mapping. Another solution is the message queue. You could send a message to the corresponding process with a special data structure Microsoft designed specifically for data transfer across processes. Kuphryn

          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