[zeromq-dev] .NET sample/tutorial
Martin Sustrik
sustrik at fastmq.com
Tue May 19 11:42:14 CEST 2009
Hi Tomislav,
> Are there any samples or tutorials available for .NET? Current
> documentation is very scarce.
>
Use 0MQ man pages, thay describe C++ API, however, the semantics is the
same for all languages.
> For instance, I have a server app which creates an exchange and then
> would like that a client app can send message to the server which is
> listening on a queue bound to the created exchange.
>
> But how can the client app know the ExchangeId returned on the server by
> the CreateExchange call?
It doesn't work that way. To send a message from client to server do
following:
Server:
1. crate a global queue
2. receive the message
Client:
1. create a local exchange
2. bind it to the global queue created by the server
3. send message
Have a look at "instant messaging" tutorial for better understanding of
the concepts.
Martin
More information about the zeromq-dev
mailing list