User Datagram Protocol - Service Ports

Service Ports

UDP applications use datagram sockets to establish host-to-host communications. An application binds a socket to its endpoint of data transmission, which is a combination of an IP address and a service port. A port is a software structure that is identified by the port number, a 16 bit integer value, allowing for port numbers between 0 and 65535. Port 0 is reserved, but is a permissible source port value if the sending process does not expect messages in response.

The Internet Assigned Numbers Authority has divided port numbers into three ranges. Port numbers 0 through 1023 are used for common, well-known services. On Unix-like operating systems, using one of these ports requires superuser operating permission. Port numbers 1024 through 49151 are the registered ports used for IANA-registered services. Ports 49152 through 65535 are dynamic ports that are not officially designated for any specific service, and can be used for any purpose. They are also used as ephemeral ports, from which software running on the host may randomly choose a port in order to define itself. In effect, they are used as temporary ports primarily by clients when communicating with servers.

Read more about this topic:  User Datagram Protocol

Famous quotes containing the words service and/or ports:

    We have in the service the scum of the earth as common soldiers.
    Arthur Wellesley, 1st Duke Wellington (1769–1852)

    It is true, we are such poor navigators that our thoughts, for the most part, stand off and on upon a harborless coast, are conversant only with the bights of the bays of poesy, or steer for the public ports of entry, and go into the dry docks of science, where they merely refit for this world, and no natural currents concur to individualize them.
    Henry David Thoreau (1817–1862)