This means that we have to process the byte stream chunks in order to successfully read a complete package.
这就意味着我们必须处理的字节流块,以便成功地宣读了一份完整的软件包。
This can be contrasted with a stream socket, where if the sender wrote a 100 byte message, the receiver could read it in two chunks of 50 bytes or 100 chunks of one byte.
对比字符流,当发送者发送100字节时,接收者可以选择接受分两次,每次50字节进行接受,还是一次性接受100字节。
应用推荐