Questions tagged [netmq]

A native .NET library for ZeroMQ messaging.

NetMQ is a 100% C# implementation of ZeroMQ for the .NET platform.

It provides a low overhead messaging solution for high performance applications over a variety of transports.

163 questions
0
votes
1 answer

NetMQ reuse same socket

Is it somehow possible to start for example 2 publishers on the same port or for example a publisher and subscriber simultaneously (both with the >tcp:// prefix)?
BigChief
  • 1,413
  • 4
  • 24
  • 37
0
votes
1 answer

How to debug "Cannot close an uninitialised Msg" FaultException?

My app is crashing because of "Cannot close an uninitialised Msg" unhandled exception. This is probably due to access to socket from multiple threads. And I have problem debugging this issue because when I review my code all access to socket is done…
astrowalker
  • 3,123
  • 3
  • 21
  • 40
0
votes
0 answers

How to check if the outgoing queue of the socket is empty?

It is not HasOut. I understand that when I send a message (SendFrame), it does not mean it is really sent, but only queued until successfully sending it. So when I would like to send another message there is no point in doing so if the first one…
astrowalker
  • 3,123
  • 3
  • 21
  • 40
0
votes
0 answers

Netmq crash after receiving publication

We are doing a ZMQ PUB/SUB method. Where the PUB/SUB exchange is written in dot net (.Net) and a publisher to the .Net exchange is written in Python. When the Python PUB's to the .Net exchange it often crashes, with the following error: mono…
user2106070
  • 151
  • 1
  • 1
  • 7
0
votes
0 answers

Client server application with notifications using NetMQ

I need to create client-server applications in local network with such functionality: single server (data access and so on ...) multi clients (ordinary 3-5, up to 20) each client must authorize on server (need to check what rights it has) client…
Anton
  • 339
  • 2
  • 15
0
votes
1 answer

Can't get NetMQ pub-sub pattern to work with ReceiveReady

I'm trying my hands on NetMQ (3.3.3.4) and creating a pub-sub pattern. I want a host/server to listen to all incoming data on one port (9000) and forward the data to all clients/subscribers on another port (9001). The clients will then send data on…
TheHvidsten
  • 4,028
  • 3
  • 29
  • 62
0
votes
1 answer

NetMQ client to client messaging

I'm trying to create an rpc program to communicate hosts located on different networks and chose Router-Dealer configuration of NetMQ provided here: http://netmq.readthedocs.io/en/latest/router-dealer/#router-dealer But the problem is that router…
user1892777
  • 131
  • 2
  • 7
0
votes
2 answers

How to synchronize sending and receiving frames on the client side?

If I send request (frame) B and receive response, while at the same time I am already waiting for response for the previous request (A), the received response in B task, is in fact a response for A request: request A sent request B sent request B…
astrowalker
  • 3,123
  • 3
  • 21
  • 40
0
votes
1 answer

How to determine the connection state of a client socket?

I'm using NetMQ sockets to perform client - server communications. I have a single server that listens to port 5555 and a client, that .bind()-s to it. Here's my code sample: using (NetMQContext ctx = NetMQContext.Create()) { using (var client…
Snake
  • 113
  • 1
  • 9
0
votes
1 answer

Communication between 0MQ and NetMQ

I have the need to communicate two applications , one server in C ++ and one c # client . I'm trying to use 0MQ on the server and the binder C # NetMq . I can make the connect from the client and to send a message from the client to the server but…
0
votes
1 answer

Sending message with Router-Dealer Proxy using c# and python

I am able to have c# (client) and python (server) talk to each other by using a simple request-reply. However, I want my web application built on c# asp.net to be stable and need more clients and servers, so I tried connecting c# and python using…
Oleole
  • 381
  • 4
  • 21
0
votes
1 answer

NetMQ Extended Request-Reply using c# and python

I am able to have c# (client) and python (server) talk to each other by using a simple request-reply. However, I want my web application built on c# asp.net to be stable and need more clients and servers, so I tried connecting c# and python using…
Oleole
  • 381
  • 4
  • 21
0
votes
1 answer

NetMQ Pub Sub Most Recent

In your typical pub sub pattern there are clients who subscribe to servers who publish events. In my application, the publisher continuously publishes events that comes asynchronously. In my clients, they lag sometimes in processing those events. My…
user1234440
  • 22,521
  • 18
  • 61
  • 103
0
votes
1 answer

0MQ PUSH/PULL Ordering Broken if no PULL Sockets connected

I have a PUSH/PULL Pattern in 0MQ (Python->C#) with just one PUSH Socket and one PULL Socket. As long as both are connected, no matter how long it takes for the worker to process the message, the order of the queued messages is preserved. The…
marsop
  • 323
  • 4
  • 19
0
votes
0 answers

Can I use a NetMQ poller to send messages?

Here is my scenario: Multiple sockets on one application I want to receive and send on any number of these sockets The only solution I have found so far to get around threading issues and bizzare exceptions is: Each socket has it's own…
Fred Johnson
  • 2,539
  • 3
  • 26
  • 52
1 2 3
10
11