Simulation of a TCP System