-
Notifications
You must be signed in to change notification settings - Fork 3k
Add UDP ECHOTEST with connect/send/recv calls #12013
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
Add UDP ECHOTEST with connect/send/recv calls #12013
Conversation
UDPSocket can be used also similar to TCPSocket using connect(), send() and recv() methods. This commit adds UDP ECHOTESTS which uses these methods instead of sendto() and recvfrom().
@kivaisan, thank you for your changes. |
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.
Looks good.
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.
@kivaisan , the code is fine (and smartly written, without copy&paste abuse), but I would like to request documentation update:
https://github.com/ARMmbed/mbed-os/blob/master/TESTS/netsocket/README.md
Updated README with new tests. |
CI started |
Test run: SUCCESSSummary: 5 of 5 test jobs passed |
Description
Summary of change
UDPSocket can be used also similar to TCPSocket using connect(), send() and recv() methods.
This commit adds UDP ECHOTESTs which uses these methods instead of sendto() and recvfrom().
Documentation
Pull request type
Test results
Reviewers
Release Notes
Summary of changes
Impact of changes
Migration actions required