Created
July 25, 2020 22:45
-
-
Save ang-st/6dc6cb95aee0054032e2432af09dd902 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nnpy #nanomsg | |
sub = nnpy.Socket(nnpy.AF_SP, nnpy.SUB) | |
sub.connect('ipc:///tmp/3-rrEWX7gc7D9mwcdrdBxBTdqh1a7WDVsMuadhTZgyXfFcRz45L-decisions') | |
#sub.connect('ipc:///tmp/3-11111111111111111111111111111111LpoYY-decisions') | |
x= sub.setsockopt(nnpy.SUB, nnpy.SUB_SUBSCRIBE, '') | |
print(sub.recv()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment