Now using sendAllTo to ensure all bytes are sent with one call