-
Notifications
You must be signed in to change notification settings - Fork 272
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
Document UDP.isValid() / UDP.status() #250
base: master
Are you sure you want to change the base?
Conversation
spark/firmware #766 PR companion
Is this only valid for Photon? We might need to extend the example a little and also give a description of what does function actually do... |
@@ -3260,6 +3260,22 @@ UDP udp; | |||
udp.leaveMulticast(); | |||
``` | |||
|
|||
### isValid() | |||
|
|||
Check if the previusly bind UDP socket is valid. |
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.
previously
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.
it is in the base code and I suppose shuld work even for Core and Electron. no way to test.
going to extend example and description ... which will be much way longer that the change itself :-)
This may change to UDP::status() to match the existing TCPClient::status() |
This PR is lingering for quite some time although on the Prioritized list - why? |
This appears to be awaiting a code change that has not been merged in, and might also require some reworking to make the API more like TCPClient. |
particle-iot/device-os#766 PR companion