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.

请问,如何知道发送缓冲区还能存储多少数据呢?

一次循环如果向无线网络发送的数据过多,会丢失数据,我向在发送之前先查询无线网络发送缓冲区还可以接收的数据长度,请问使用什么接口查询呢?