UDP Socket #244
-
I'm trying to create a udp socket so that I can request the current time from an NTP time server on an esp-32. Is there an example of how to construct a udp socket? I have been struggling with setting up the
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Maybe this might help: |
Beta Was this translation helpful? Give feedback.
-
The underlying implementation (smoltcp) returns So, it's not really a serious error but just an indication that currently there is no data available - so you probably need a similar |
Beta Was this translation helpful? Give feedback.
Maybe this might help:
https://github.com/bjoernQ/matter-rs-experiment/blob/8be0e5546b6e79565f17cb7f62c29c796ba4f867/src/main.rs#L184