The InputReceiver now uses DataInputStream to process the stream of bytes sent from a C++ data generator.