Added some comments to make more sense of the TCP comms