client send 4096 bytes to muduo server, server only receive 2805 bytes #574
Allenhe123
started this conversation in
General
Replies: 1 comment
-
First of all, TCP is a byte stream protocol. Ref. Effective TCP/IP Programming: 44 Tips to Improve Your Network Programs
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Linux distro and version? x86 or ARM? 32-bit or 64-bit?
ARM
Branch (cpp98/cpp11/cpp17) and version of muduo?
cpp17
Version of cmake, gcc and boost? (If not from distro.)
cmakle
Description:
server: changed from muduo's pingpong_server example
client: a python program, send a file to server. If the client sent 4096 bytes at a time, server will only received 2805 bytes.
If the client sent 1024 bytes at a time, it is ok.
Beta Was this translation helpful? Give feedback.
All reactions