如图我将采集的图像数据分包发送,发送的过程中出现了调用sl_send()失败的问题,错误代码为-2006,对应于结构体中的结果是SEND_ERROR。
之前也出现过在非阻塞下多次调用sl_send()函数失败的问题,为了测试发送次数写了如下代码以及测试结果
只是单独的给服务器发消息,可是调用54次sl_send()后就会失败。请问如何解决这个问题,因为图片数据我要分包连续发送,调用多次失败会影响我发图像。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.