Modest-as/server-client

Stateful server: revisit assumption underlying storing sent count

paddybyers opened this issue · 0 comments

The stateful server currently assumes that once it has sent an update to the client, then the client has received it, and the server can store that value, assuming that when a client resumes it will want to resume from that point. However, it's not valid to assume that - just because the server wrote that message on the connection, it doesn't mean that the client received and processed it.

How would you modify the protocol to remove that assumption?