A TCP port consists of 16-bit unsigned integers. The Internet Assigned Numbers Authority (IANA) maintains port number assignments for different uses. Currently, TCP ports are 65,535 in total, including port 21 for FTP, port 110 for Post Office Protocol (POP), and port 143 for Internet Message Access Protocol (IMAP).