Skip to content
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

Update ard_socket.c #129

Merged
merged 7 commits into from
Sep 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Arduino_package/hardware/cores/ambd/ard_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ int start_server(uint16_t port, uint8_t protMode) {
printf("\r\nERROR on binding\r\n");
return -1;
}
lwip_fcntl(_sock, F_SETFL, O_NONBLOCK);
//lwip_fcntl(_sock, F_SETFL, O_NONBLOCK);

return _sock;
}
Expand Down Expand Up @@ -243,7 +243,7 @@ int start_server_v6(uint16_t port, uint8_t protMode) {
closesocket(_sock);
return -1;
}
lwip_fcntl(_sock, F_SETFL, O_NONBLOCK);
//lwip_fcntl(_sock, F_SETFL, O_NONBLOCK);
printf("\n\r[INFO] Bind socket successfully\n");

return _sock;
Expand Down