- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- maximum socket number
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:00 AM
02-12-2007 06:00 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:29 AM
02-12-2007 06:29 AM
Re: maximum socket number
That is controlled with ndd or /etc/rc.config.d/nddconf
If you run ndd -help
You will see parameters for the maximum udp dockets. This will if changed be able to permit you to change the number that free udp sockets start at.
The default is 20,000 for HP-UX 11.11 (approximately) and can be changed to leave more free udp sockets.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:29 AM
02-12-2007 06:29 AM
Re: maximum socket number
The maximum TCP port number is (2^16)-1 or 65535 on HP-UX and a host of other operating systems.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:34 AM
02-12-2007 06:34 AM
Re: maximum socket number
I see some settings for smallest port number to use but not largest.
I will keep reading.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:36 AM
02-12-2007 06:36 AM
Re: maximum socket number
16 bits makes sense. Documented anywhere ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:48 AM
02-12-2007 06:48 AM
SolutionHere's a link to the BSD Sockets Interface Programmer's Guide:
http://docs.hp.com/en/B2355-90136/ch01s01.html
Scroll down to "port".
I'm not sure that this is rigorous enough for you...
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:52 AM
02-12-2007 06:52 AM
Re: maximum socket number
Perhaps you will find this of help:
http://www.iana.org/assignments/port-numbers
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 07:04 AM
02-12-2007 07:04 AM
Re: maximum socket number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 04:35 AM
02-13-2007 04:35 AM
Re: maximum socket number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 09:50 AM
04-03-2007 09:50 AM
Re: maximum socket number
Reason: An application admin wanted to know what the max was to pick for an application port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 09:54 AM
04-03-2007 09:54 AM
Re: maximum socket number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 09:55 AM
04-03-2007 09:55 AM
Re: maximum socket number
A _port_ number as already described, is for TCP and UDP at least, a 16 bit quantity. I cannot remember if SCTP kept a 16 bit port number or if it increased the size of that field.
While the TCP or UDP endpoints associated with a socket may be bound to a given port, a socket is not a port, and a port is not a socket.