Updated so that the race length is now sent as an arbitrary normal integer followed by a newline.  It sends a confirmation when it finishes receiving the length.