• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Which app owns an open listening socket?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which app owns an open listening socket?


  • Subject: Re: Which app owns an open listening socket?
  • From: Josh Graessley <email@hidden>
  • Date: Tue, 30 Apr 2002 19:23:02 -0700

On 4/30/02 6:54 PM, "Duane Murphy" <email@hidden> wrote:

> --- At Tue, 30 Apr 2002 15:14:05 -0400, Avi Drissman wrote:
>
>> (BTW, does anyone know of anyone using TCP port 18769?)
>
> AFAIK any port above 1024 is a dynamic port. They are not reserved and
> are used when you open a port and dont care what the socket is. Picking a
> socket in the dynamic range and assuming you can always get it is fraught
> with problems.

That's not true. The dynamic ports are pulled out of the range from 49152
through 65535. If you're going to use a static port number, you should
register with IANA.

From various locations on IANA's web site (www.iana.org):
"The port numbers are divided into three ranges: the Well Known Ports,
the Registered Ports, and the Dynamic and/or Private Ports.

The Well Known Ports are those from 0 through 1023.

The Registered Ports are those from 1024 through 49151

The Dynamic and/or Private Ports are those from 49152 through 65535"

"The System (Well-Known) Ports are those from 0 through 1023. (See
http://www.iana.org/assignments/port-numbers.)

In order to obtain a system port number you need to have a specification
documented in the form of an RFC, an Internet-Draft that is intended to be
published as an RFC, or a permanently and readily available reference that
the IETF could standardize if it chose to."

"The User (Registered) Ports are those from 1024 through 49151. (See
http://www.iana.org/assignments/port-numbers.)

The IANA needs a technical description on your proposed use of a user port
number. We require enough detail to understand how your application uses the
network. Once we have the above information in hand, and understand it, we
can assign a user port number. "

-josh
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Which app owns an open listening socket? (From: Duane Murphy <email@hidden>)

  • Prev by Date: Re: Which app owns an open listening socket?
  • Previous by thread: Re: Which app owns an open listening socket?
  • Index(es):
    • Date
    • Thread