tonysimpson / nanomsg-python

nanomsg wrapper for python with multiple backends (CPython and ctypes) should support 2/3 and Pypy
MIT License
382 stars 85 forks source link

How to connect to multiple ports? #80

Closed ayush-j9 closed 4 years ago

ayush-j9 commented 4 years ago

I want to connect to multiple asynchronous ports. I could not find the python documentation for this library.

tonysimpson commented 4 years ago

Just call .connect or .bind more than once on a socket.

Use pydoc nanomsg to read the documentation.