We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In https://github.com/zoranzhao/DeepThings/blob/master/distriot/src/network_util.c file: We have: n = recv(sock, buffer + bytes_read, bytes_length - bytes_read, 0); Note that if the connection is lost, n will be 0 and the read_from_sock will fall into a infinite loop. This needs to be handled properly.
The text was updated successfully, but these errors were encountered:
zoranzhao
No branches or pull requests
In https://github.com/zoranzhao/DeepThings/blob/master/distriot/src/network_util.c file:
We have:
n = recv(sock, buffer + bytes_read, bytes_length - bytes_read, 0);
Note that if the connection is lost, n will be 0 and the read_from_sock will fall into a infinite loop. This needs to be handled properly.
The text was updated successfully, but these errors were encountered: