4 ms·
Imagine two blind people who want to have a conversation. Before they start, each person needs to ensure that the other can both speak and hear. Typically, one
by veblen 2y ago
Imagine two blind people who want to have a conversation. Before they start, each person needs to ensure that the other can both speak and hear. Typically, one person begins by asking, 'Can you hear me?' to check if the other can hear them. The second person responds with 'Yes,' confirming that they can hear. Then, the second person asks, 'Can you hear me?' and the first person replies, 'Yes,' completing the process.
In total, there are four exchanges (two questions and two answers). However, if you look closely, the second person's reply of 'Yes' already confirms that they can both hear and speak. Therefore, the second 'Can you hear me?' is unnecessary. With just three exchanges (one question and two answers), both people know that they can send and receive messages.
- blamarvt 2y agoWhat if the first blind person was also deaf and just trolling the other blind person so wouldn't the second "Can you hear me?" be needed?
- deleted 2y ago[deleted]
- kbmr 2y agoTroll Control Protocol
- colejohnson66 2y agoThen you set the “evil” bit
- tsimionescu 2y agoActually, the second answer is also unnecessary. The conversation can go like this: A: Can you hear me? B: Yes A: What time is it? B: 5 o'clock A: Thank you, goodbye! B: Goobye! Nothing is lost compared to: A: Can you hear me? B: Yes A: Yes A: What time is it? [...]
- stiglitz 2y agoTCP Fast Open does you one better: A: If you can hear me, what time is it? B: Yeah I can hear you; it’s 5.
- dullcrisp 2y agoWell there the “what time is it?” serves as the “great, I can hear you too!” but I take it that the point is that B needs some reply from A to know that they can hear them.
- GoatOfAplomb 2y agoYou could also just start with "What time is it?" and see what you get back, right?
- athenot 2y agoI believe that's UDP. :)
- dpig_ 2y agoit ? is time What What ?
- NightlyDev 2y agoWho is this? What? No! You called me!
- paulddraper 2y agoBut person A might not be ready to ask a question, and person B doesn't want to wait around forever to have a conversation with someone who might not even be able to hear them. Both sides need to know to "commit" to the connection.
- rishav_sharan 2y agoIsn't the whole point here that handshakes are cheaper compared to the actual content? If you use the content as the handshake itself, you can end up with huge content only to find out that the conversation didn't work. That conversation can also go like; A: Can you hear me? B: Yes A: What is the full unabridged story of War and Peace? B: <...> A: I am going to a take a nap for now, goodbye! B: ... Goodbye!