The main program tests an RDTProtocol by constructing two
TCPEntities named "S" and "R", setting up a connection between
them, and sending segmentCount segments from the "S" to "R".
tmr.toString() returns a String of the form name"-Timer-"id
where name is the name of the TimerFactory that created tmr and
id is the identification number of tmr.