-
Notifications
You must be signed in to change notification settings - Fork 11
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
Renamed UNIXSocketType
enum and added ALL_PARAMETERS
interface configuration definition.
#323
base: master
Are you sure you want to change the base?
Conversation
c077d3f
to
5dbecdd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing the Python implementation, which is probably going to be non-trivial. Similarly, the Nautilus implementation may be a little complicated since it's going to need to return multiple memory segments, which we've done for wheel speed, but I'm not sure we've done for the interface settings.
222c606
to
4e35913
Compare
@axlan added Python implementation and resolved a few related issues. Please take another look. |
fcfe025
to
c9fc070
Compare
uint8_t enabled = 1; | ||
TransportDirection direction = TransportDirection::SERVER; | ||
uint16_t port = 0; | ||
char remote_address[64] = {0}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its odd to call this remote address if this represents a server and a client. My personal opinion is that TCPServer and TCPClient should be treated as two different top level entities. There is no such thing as a remote address on a TCP server and if its intended to be the bind_address, it should be named as such.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall the name changes make sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
31b0cfd
to
7a89556
Compare
7a89556
to
03e7da9
Compare
03e7da9
to
80a1c84
Compare
dce9cfe
to
b8321cc
Compare
b8321cc
to
8976589
Compare
8976589
to
c08304b
Compare
New Features
InterfaceConfigType::ALL_PARAMETERS
and config structs (e.g.,TCPConfig
) to allow bulk configuration of a transportGetConfigMessage(interface=)
argument for ease of use, consistent withSetConfigMessage
Changes
SocketType
toUNIXSocketType
for clarityFixes
TransportDirection
andSocketType
values