在我的TCPClient类中,当我发送消息时,我最终错过了最后的~1700个字符。我已经把它缩小到我搞砸了数学的事实。我不知何故告诉它这是最后一条消息。
所以简而言之。我最后只丢失了最后的~1700个字符。
(private void writeHeader(RequestHeader header) throws IOException {
output.write(header.toBytes());
}
private void writeEOF() throws IOException {
output.write(EOF);
}
告诉服务器它是当前包的末尾)
user.profile
user.profile({name: ko.observable()});