[Mono-list] MemoryMappedFile not supported?
mike.mcglothlin at gmail.com
Fri Jul 18 19:01:27 UTC 2014
I'm experimenting with writing a local service that I need to be reasonably fast. I'd like it to work on Windows, Mac OS, and Linux at least. I've never written a service in C# but the first thing I tried for IPC was using memory mapped files. Immediately I got a complaint that what I was doing wasn't supported under Mono because it didn't jive with Unix.. so I switched to creating from a file (as the previous error message told me to do) but it seems if the file exists it dies with an error about the file already existing and if the file doesn't already exist it dies with an error that the file doesn't exist.
Is this just plain not the right way to make a fast local service in C#? I'd be ok with using pipes or IPC sockets if it is a better idea but in Googling it seemed that C# had made these rely on networking for some reason.
📱 Michael McGlothlin
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list