Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Where can I have the error code description? #60

Open
vflanker opened this issue Jan 5, 2021 · 2 comments
Open

Where can I have the error code description? #60

vflanker opened this issue Jan 5, 2021 · 2 comments

Comments

@vflanker
Copy link

vflanker commented Jan 5, 2021

Hey fellows~I use ipc protocol do the local test and found the return value of nnpy.Socket.send executed by pub server varies from 3 to 4, while the sub client react the same and can always receive data successfully. I try to figure out the meaning of these error codes but does not know where can I found the WIKI or Documentation.
By the way, the function nnpy.Socket.setsockopt(arg0,arg1,arg3) also confuses me very much. I don't know the available value set of each communicate mode, only know that (nnpy.SUB, nnpy.SUB_SUBSCRIBE, <sub name>) and (nnpy.SUB, nnpy.RCVTIMEO,1000) works. If there is some guide can tell me how can I use setsockopt correctly?

Thanks a lot.

@djc
Copy link
Member

djc commented Jan 5, 2021

nnpy is a very thin wrapper around the nanomsg library, which is documented in its manpage (online version).

This project is pretty inactive, so I don't have any intention of writing separate documentation for it.

@vflanker
Copy link
Author

vflanker commented Jan 6, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants