- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TCP/IP Ports
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
Discussions
Discussions
Forums
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
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
тАО10-09-2000 03:21 PM
тАО10-09-2000 03:21 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2000 03:45 PM
тАО10-09-2000 03:45 PM
Re: TCP/IP Ports
You can code your own process/program which opens and uses a port... using (I think) various bind system calls.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2000 03:53 PM
тАО10-09-2000 03:53 PM
Re: TCP/IP Ports
Within the C-Developer bundle for hpux, you'll find an example code for how to access port/ use port for interprocess communication.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2000 04:21 PM
тАО10-09-2000 04:21 PM
Solutionhttp://world.std.com/~jimf/papers/sockets/sockets.html
http://www.ecst.csuchico.edu/~beej/guide/net/
http://www-sers.cs.umn.edu/~bentlema/unix/syscalls_and_iipc.html
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2000 06:25 PM
тАО10-09-2000 06:25 PM
Re: TCP/IP Ports
A server process offers connections to clients. Such server processes offer connections on a port with a fixed number. Port numbers below 1024 are reserved and universally the constant (e.g. telnet uses port #23). An user application may be written as a server and it may use any port from 1024 to the maximum value 65,535.
The /etc/services file contains the universal numbers and names. Each individual site is free to add their own offerings to this file.
Clients in the socket paradigm also have port numbers associated with their socket. A socket is really an IPAddress plus a port number. Usually, because it doesn't matter, a client application will let the OS assign a port number for its socket, although clients, like servers, can specify a unique, fixed port.
...JRF...