The actual command is "cat mario.nes - | nc ...”
The trailing dash allows you to actually control the game after the rom has been loaded.