Add a tool to generate a stream with a configurable bitrate. This generates a stream with a configurable average bitrate and number of frames sent per second. The stream has embedded timestamps and counters, which can be used by the same program to verify the integrity of an incoming stream and to print the latency between sender and receiver.
Check for astyle version 3 before formatting the code. Unfortunately, code formatters change their behaviour between versions. The code currently requires astyle version 3.x, so check this before running astyle. If the wrong version is installed, print an error.
Fix all compiler warnings found using -Wall -W -pedantic.
Format the code using the Artistic Style formatter.
Send ACKs also when receiving out-of-order data. This is necessary to trigger the triplicate ACK detection on the sender.
Don't call abort() in retransmit(). The retransmission timer can sometimes get called when in one of the closing states. This is not implemented yet, but it's better to just ignore those cases for now than to abort().
Set FIN bit in ack().
Improve Makefile.
Build both binaries.
Start of UTCP.