Search code examples
.net-coreposixipc

.NET Core POSIX IPC


Does .NET Core have support for POSIX IPC? I want to use Message Queues and Shared Memory. MemoryMappedFile does not seem to work on Linux. Is PInvoke my only chance?

Any help is appreciated Thanks


Solution

  • .NET Core System.IO.MemoryMappedFiles are supported on unixes. There are some limitations though. For details see implementation of MemoryMappedFile.Unix.cs in dotnet/corefx repo.

    Message Queues are unsupported yet.