[zeromq-dev] Crosstalk between sockets

Luca Boccassi luca.boccassi at gmail.com
Fri Sep 1 12:34:07 CEST 2017


On Fri, 2017-09-01 at 11:21 +0100, david.myers at avalesta.com wrote:
> Hi, 
> 
> I am having trouble sending video packets from multiple server
> processes
> to a single client process with multiple threads. The client starts a
> new thread for each server it connects to, on a separate socket and
> port
> number. 
> 
> If I use REP-REQ and have the client acknowledge each packet, it
> works
> fine. 
> 
> As the packets are one way only (from server to client thread) I
> would
> like to use PUB-SUB or PUSH-PULL of even just PAIR, so that I don't
> have
> to acknolwledge each packet received by the client. However the
> server
> processes crash with "bad address" when I start more than one. It's
> as
> if there is some crosstalk or ineterference between the channels even
> though they use different ports and sockets. 
> 
> Any ideas or suggestions would be really great. 
> 
> Thanks

Can you upload a code snippet that reproduces the issue to
pastebin/gist/etc?

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170901/dca3b100/attachment.sig>


More information about the zeromq-dev mailing list