Dear Community;
I am using this code provided by a Nordic engineer to make some HTTP request in order to use Telegram Bot API. It works fine but after 1-2 days working I am getting an error at this part of the code:
int num_bytes = send(client_fd, send_buf, send_data_len, 0);
if (num_bytes < 0) {
printk("send errno: %d\n", errno);
goto clean_up;
}
This is the error: "send errno: -1163019603"
The problem is that after first time this happens never recovers its normal functionality.
What is causing this error? How can be solved?
Any idea or suggestion is welcomed. Thanks.