Alice and Bob both want to send each other a message over an unreliable connection. They've agreed on a protocol whereby Alice will go first and keep sending her message until she gets a message from Bob. Likewise, Bob will wait until he receives a message from Alice then keep sending his message until he gets an acknowledgement message from Alice.
And so forth...
What is the minimum number of messages that need to be sent so both Alice and Bob are sure that both Alice and Bob are sure that their messages have been read?
Assume there's a 100% reliable connection.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let's assume a 100% reliable connection, Although Alice and Bob don't know this.