On 26/09/2013 12:04 PM, Paul Gilmartin wrote:
On Wed, 25 Sep 2013 22:20:49 -0500, Mike Schwab wrote:

P.S., in the networking world, it is called a port number.

Errr...no.  Port numbers are relatively static, and the port numbers for
Well Known Services are likely to be defined in /etc/services.  Socket
numbers are dynamic.  So the well known port number for SMTP is
25, and if a process were to make two connections to port 25 (unusual,
and perhaps a bad idea) those connections would get different socket
numbers, neither of which is likely to be 25.

Not to mention that port numbers are short integers (half-words).

On Wed, Sep 25, 2013 at 9:24 PM, Anthony Thompson wrote:
A socket descriptor (which seems to be a fancy name for a number) is 4 bytes.
-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to