ivans-csu / super-cow-powers

Class project to learn socket programming by creating a networked game.
0 stars 0 forks source link

TODO: handle full TCP buffer scenario #8

Open babylfish opened 1 month ago

babylfish commented 1 month ago

when the server (or client) is overburdened, the socket's input buffer may fill up and likely will not include the entire final message; leading to erroneous BAD_FORMAT.

handle this situation gracefully, and instead return BAD_FORMAT as described in #7