Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraneous Suffixes added to ZMQ IPC endpoints #941

Open
orbiter2 opened this issue Feb 26, 2024 · 1 comment
Open

Extraneous Suffixes added to ZMQ IPC endpoints #941

orbiter2 opened this issue Feb 26, 2024 · 1 comment
Assignees
Labels

Comments

@orbiter2
Copy link

orbiter2 commented Feb 26, 2024

Problem description

Attempting to connect a ZeroMQ Subscriber socket over IPC transport will append :<portnum> to the ZMQ endpoint.
image

ZMQ Subscribed topic ""
ZMQ listening on address "ipc://@a:0"

Versioning

OS: Ubuntu 22.04
Package Version: 3.9.1 (installed from Snap store)

Steps to reproduce:

Run the following python script:

import zmq
import json
from time import sleep

ctx = zmq.Context()
sock = ctx.socket(zmq.PUB)
sock.bind("ipc://@a")

i = 0
while True:
   sleep(0.05)
   time += 0.05
   print(time)
   data = {
       "timestamp": time,
       "data": i
   }
   i+=1
   sock.send_string(json.dumps(data))
@facontidavide
Copy link
Owner

ok, I see the problem. I ill fix it soon

@facontidavide facontidavide self-assigned this Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants