-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels