codypiersall / pynng

Python bindings for Nanomsg Next Generation.
https://pynng.readthedocs.io
MIT License
260 stars 58 forks source link

remote address on Rep0? #115

Open pontus-lund opened 1 year ago

pontus-lund commented 1 year ago

It isn't clear if there is a better forum for questions, so apologies if this is not the right place.

I would expect to find it on ctx._socket.listeners, but it seems it is not populated. What do I need to do ensure it is? I am using pynng 0.7.2

pontus-lund commented 1 year ago

for clarity, len(ctx._socket.listeners) > 0 and ctx._socket.listeners[0].remote_address is not populated