I have a client and server that communicate with each other using the TCP connection standard.
The server is configured to send data in blocks of x bytes in size. The client is also configured to receive data in chunks of x bytes (that is, the client expects that the TCP stack call to receive x bytes will succeed if the connection to the remote end did not end).
Can my TCP protocol be based on the assumption above?
source share