parse and serialize port as unsigned int32