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