-
-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address properties #5
Comments
See also #40 -- please keep this in mind -- we think these address properties should be via nng_sockaddr. Note that this means that the compatibility layer will need to convert these to and from string representation. |
So we have a few things. a) URLs are strings. We have to support these for configuration, and we also support obtaining the URL from a pipe as a string. The URL does not give details about the peer, but merely the service address used. b) Pipes have a readonly nng_sockaddr pair -- one local and one remote, that can be obtained as options. This provides details about the actual TCP, inproc, IPC, or ZT connection. This may differ from the URL -- for example locally selected ephemeral ports are reported, etc. Right now only TCP support for this is missing, but that's about to be rectified. |
Implement property support to get / set addresses (remote and local).
The text was updated successfully, but these errors were encountered: