a logic in port numbers