Hi,
What is the best method to get the VI server port used by any Exe in execution, whose process name is known (How can the process name be mapped to the port number (VI server) used by that process)? We are currently using netstat to find the port number. The iphlpapi.dll system DLL methods also work by getting the entire list of Process ids and ports. But there might be a better method to achieve the same functionality (A method that directly maps the process name to the port without getting a list of all processes and their ports). Is there a better method to get this functionality?
Thank you,
Ganesh Kumar