TCPLabJava Socket Visualizer
idle
UTF-8 · Java
Console Output
Press Run to execute the simulation
TCP LifecycleBasic TCP
Server
Client
Socket Created
Bind & Listen
SYN
SYN-ACK
ACK
Connected
DATA
ACK+DATA
FIN
FIN-ACK
Closed
Press Run to start the animated TCP walkthrough
Scenario: Basic TCP

Standard 3-way handshake & data transfer

Key Concepts
TCP uses a 3-way handshake (SYN -> SYN-ACK -> ACK) to establish connections
Each socket has an Initial Sequence Number (ISN) for reliable ordering
ServerSocket.accept() blocks until a client connects
4-way FIN handshake gracefully terminates connections
Ananya Addisu|BDU1600957