System: Windows XP
I am writing an application that links incoming packets to the associated process listening on that port. I gather all of the current net connections, and iterate through each one and call "getProcPort" with the appropriate parameters.
This seems to work for about roughly 50% of the connections. The rest of the calls to getProcPort result in the following exception:
org.hyperic.sigar.SigarFileNotFoundException: The system cannot find the file specified.
at org.hyperic.sigar.Sigar.getProcPort(Native Method)
...
Any ideas about what "file" this is referring to?
Thank you
I am writing an application that links incoming packets to the associated process listening on that port. I gather all of the current net connections, and iterate through each one and call "getProcPort" with the appropriate parameters.
This seems to work for about roughly 50% of the connections. The rest of the calls to getProcPort result in the following exception:
org.hyperic.sigar.SigarFileNotFoundException: The system cannot find the file specified.
at org.hyperic.sigar.Sigar.getProcPort(Native Method)
...
Any ideas about what "file" this is referring to?
Thank you