Each time you send the message from your device is submitted successfully, but you try to read it as fast as it's not still flushed. Use flush() to clear your output memory buffer and force it to...