Use uint16 for port.