astef
astef

Reputation: 9488

Zeromq in-process communication - how to send a reference-message?

I'm interested in only in-process communication. How to avoid serializing messages and send them just by reference?

UPD

Another side of this question: how to convert C# reference to byte[] and byte[] to C# reference?

Upvotes: 0

Views: 274

Answers (1)

Christopher Stevenson
Christopher Stevenson

Reputation: 2861

A message queuing system is designed for inter-process communication. For communication within an application there are several options. For a class Producer-Consumer problem, take a look at the BlockingCollection class.

Here's an overview.

Upvotes: 1

Related Questions