iOS GCDAsyncSocket sends data and sets the cache size. Every time I send a picture to the server, the remaining part is not sent out. I have to wait until I send a piece of data before sending out the rest of the previous one. This happens every time. This is because GCDAsyncSocket sets the cache size incorrectly. ? How to set cache size?
No matter how big the picture is, it is divided into two parts?
GCDAsyncSocket does not have the settings you mentioned. Socket transmission is limited by MTU. This is normal. https://zh.wikipedia.org/wiki...