|
M Hello Steve, You wrote: >If there were other socket apps on this system, I would not have a standard >place to look to see which ports are used and which are available for use. That's why the SERVICES file exists under TCP/IP. It lists all the ports that are used by some TCP/IP application. That doesn't mean the port is currently in use (that's what NETSTAT is for) but it does tell you which ports you shouldn't use. See the WRKSRVTBL command. You should add an entry for your application and retrieve that entry when your application starts to tell it what port to use. It is also a good idea to accept an optional parameter that allows the port to be overridden for testing purposes. Regards, Simon Coulter. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» «» FlyByNight Software AS/400 Technical Specialists «» «» Eclipse the competition - run your business on an IBM AS/400. «» «» «» «» Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ «» «» Fax: +61 3 9419 0175 mailto: shc@flybynight.com.au \ / «» «» X «» «» ASCII Ribbon campaign against HTML E-Mail / \ «» «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.