Background
and girlfriend long-distance love for more than a year, in order to maintain feelings I propose every night video chat.
From the good to the beginning, to now, more than a year to hold down.
Problem
Sometimes in the process of chatting, my network or her network may not be good, the video will be stuck, can not hear the other side of the voice, after a while will recover.
Both sides may be constantly confirming that the network is recovering, but sometimes:
She: "Can you hear it?" ”
Me: "Yes, what about you?" ”、
She: "Hey, hey, can you hear me?" ”
Me: "Yes, I can hear you, don't you?" ”
She: "Can you hear it?" ”
.....
This situation is really very painful, so you can find a simple way, so that two people are sure that they can hear each other's voice, the other can hear their own voice?
Scheme
I don't know why I thought of this picture:
So there is the following dialogue:
Me: how many equals?
Her: 2,2+2 equals a few?
Me: 4
First of all, two people agreed to the agreement
1. When the network situation is wrong, either party can initiate an inquiry
2. In any case, if a response has not been received 5 seconds after initiating the inquiry, the network is considered
3. If the network is not in line with the 1min or a full router after the start of the inquiry
For me, after the "equal to a few" inquiry
1. If no reply is received within 5s, the network is considered different
2. If you receive a reply, I confirm ① I can hear her message ② she can hear me and answer her question.
For her, when it feels like the internet is wrong,
1. If you do not receive my enquiry, she initiates an enquiry.
2. If you receive "equal to a few", she confirms ① She can hear my message, then reply to my question and her question "2,2+2 equals a few"
3. If you do not receive my reply "4" Within 5s, she confirms ② I can't hear her.
4. If I receive my reply "4" Within 5s, she confirms ② I can hear her.
Thus, if the above dialogue is completed, it proves that both sides can confirm that they can hear each other's voice, and the other person can hear their own voice!
This story can explain why TCP has to shake hands three times ... 囧
Ending
All right, I have to admit, it's all around. My girlfriend has not abandoned me, is my lucky ...
She is not learning computer, but also willing to accompany me to play this game, let me moved at the same time and feel that has been delayed her youth, I am sorry for her. Long-distance love of the sad who experienced who know Ah!
Fortunately, after a few weeks of efforts, the success of the home to find a satisfactory job, leaving the Royal Park, home and her reunion. Taking advantage of the new job before a few days before the move to rest time, recall memories of the past, it is a very interesting experience:)
Correct use posture for TCP three-time handshake