[Design] Linux and TCP ports - Shuatiblog.com
a port is a software construct serving as a communications endpoint in a computer's host operating system.
purpose of ports is to uniquely identify different applications or processes running on a single computer and thereby enable them to share a single physical connection to a packet-switched network like the Internet.
The protocols that primarily use ports are the Transport Layer protocols, such as TCP and UDP.
Port info can be viewed on Linux /etc/services files.
there're only 65536 ports
In TCP/IP stack, port number field is just 16bit size unsigned integer. Port number thus ranging from 0 to 65535.
Read full article from [Design] Linux and TCP ports - Shuatiblog.com
No comments:
Post a Comment