The data length obtained by socket read/recv is uncertain

后端 未结 0 1727
伪装坚强ぢ
伪装坚强ぢ 2021-02-14 01:11

In TCP connection(SOCK_STREAM ,BLOCK socket), the send() interface sends 2726 bytes of data, and the receiver uses read(fd, *recv_buf, 10240) to receive data. The problem is tha

相关标签:
回答
  • 消灭零回复
提交回复
热议问题