[zeromq-dev] Asyncronous clients

Justin Karneges justin at karneges.com
Mon Apr 24 20:53:06 CEST 2017

Hi Andrey,

ROUTER sockets read the first part of the message as the recipient
address. Is it possible you're using the wrong address when sending?

On Mon, Apr 24, 2017, at 01:08 AM, Андрей Олейник wrote:
> Hello,
> I have a chat application that receives messages through WebSockets
> and processes them on workers connected by a DEALER-ROUTER pattern.
> Chat sends and receives ZMQ messages through one DEALER socket. It has
> been working until I added second worker (ROUTER socket). From now
> there is not guaranty that client will receive its own response.> 
> As I understand the solution could be to use separate DEALER socket
> for each WebSocket connection or use one socket with a wrapper that
> will handle sharing across WebSockets connections.> 
> What is the best way to have it done?
> Thank you,
> Andrey
> _________________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170424/bf31ea4c/attachment.htm>

More information about the zeromq-dev mailing list