When establishing a connection, TCP uses three-way handshake.
step 1: client send SYN to server
step 2: server send SYN/ACK to client
step 3: client send ACK to server
But, in step 1, 2 or 3, packet may be lost.
I have 3 questions, please help me on that.
- How TCP handle packet loss during three-way handshake ?
- Is there any ways to simulate the packet loss issues ?
- TCP handle the problem automatically or developer must also handle it ?
Thanks for any advice.