I have a C++ application with data that needs to be shared with a C# application. I’m currently transferring the data via files, but with speed and quantity of the data becoming an issue I would like to find a way to share the data through memory.
I’m a beginner to intermediate programmer at best, and so far I have heard of two methods that may be able to help me do this: Socket Programming & Memory Mapped Files
So my questions is, which is the best way to do this? (yes, speed is a factor)
and any info or links to info that could help me in my research and comprehension of the method you suggest would be very much appreciated.
Thank you,
You could use named pipes for interprocess communication. I haven’t used it from c++ land yet though..