A working implementation that uses a pthread to start the receiver