4 ms·
Exactly.
by newobj 9y ago
Exactly.
- jancsika 9y agoQuestion: what is the relationship (if any) between TCP and the Two Generals Problem?
- y4mi 9y agoMaybe read the opening paragraph of the linked wiki article? It's within the first few sentences.
- deleted 9y ago[deleted]
- sillysaurus3 9y agoThe Two Generals Problem deals with communicating over an unreliable channel, as does TCP. TCP solves the problem by retransmission, similar to approaches illustrated in https://en.wikipedia.org/wiki/Two_Generals%27_Problem#Engineering_approaches https://en.wikipedia.org/wiki/Two_Generals%27_Problem#Engine... Note that it's impossible to solve it completely, and TCP is no different. If you unplug your router, there is no hope of getting a message through. But it's highly unlikely that there is no path between you and your destination (a "partition") so TCP retransmits until it finds one. This would be similar to generals sending messengers until one gets through and a confirmation messenger comes back.