请教一下:调用socket函数返回113错误码的问题
Posted: Sat Dec 15, 2018 1:59 am
socket连接OK
但是发送数据时返回113错误,请问怎么解决?
int err = send(sock, payload, strlen(payload), 0);
if (err < 0) {
ESP_LOGE(TAG, "Error occured during sending: errno %d", errno);
break;
}
但是发送数据时返回113错误,请问怎么解决?
int err = send(sock, payload, strlen(payload), 0);
if (err < 0) {
ESP_LOGE(TAG, "Error occured during sending: errno %d", errno);
break;
}