|
Hello all, I am not sure how to do this. Is there any way to retrieve the TCP/IP service (local port name) associated to a local port number ? Just like int the command WRKSRVTBLE Is there an API for this ? I am using the API QtocLstNetCnn to list the Network Connections and I want to add to my listing the TCP/IP service (local port name) associated to a local port number (f any) I do not think that the following two APIs vcan help me .. However I have been wrong plenty of times Get Port Number for Service name (getservbyname()) and Get Port Number for Service name (getservbyname_r()) Your suggestions will be appreciated (I did not find much help in the archives ... ) Regards Jorge Moreno Overseas Military Car Sales Woodbury, New York + - - - - - - - - - - - - - - - - - - - - - - - - This email, including its attachments, may contain information that is confidential and may be protected by federal and/or state laws and regulations, or other confidentiality privileges. This email, including its attachments, may contain non-public information; therefore it is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient, please delete this email, including its attachments, and notify the sender. The unauthorized use, dissemination, distribution or reproduction of this email, including its attachments, is prohibited and may be unlawful. + - - - - - - - - - - - - - - - - - - - - - - - -
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.