You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to test with IPC protocol, but messages are never received:
publisher:
>>> from nanomsg import Socket, PUB, SUB
>>> s = Socket(PUB)
>>> s.bind('ipc://test')
<BindEndpoint socket <Socket fd 0, connected to [], bound to ['ipc://test']>, id 1, address 'ipc://test'>
>>> s.send(b'test\n')
subscriber:
>>> from nanomsg import Socket, PUB, SUB
>>> s = Socket(SUB)
>>> s.connect('ipc://test')
<ConnectEndpoint socket <Socket fd 0, connected to ['ipc://test'], bound to []>, id 1, address 'ipc://test'>
>>> s.recv()
Is there anything Python-specific for IPC I'm missing out here? I tried nnpy - it doesn't work either.
The text was updated successfully, but these errors were encountered:
Trying to test with IPC protocol, but messages are never received:
publisher:
subscriber:
Is there anything Python-specific for IPC I'm missing out here? I tried nnpy - it doesn't work either.
The text was updated successfully, but these errors were encountered: