Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8121

C/C++ • Re: Time out detection in a UDP send/receive loop in C

$
0
0
It shouldn't freeze on send, UDP is basically fire-and-forget. For receive, are you doing a blocking read? Try using select() with a timeout.

Statistics: Posted by ame — Wed Oct 23, 2024 12:31 am



Viewing all articles
Browse latest Browse all 8121

Trending Articles