Hello. I am wondering if anybody could provide any insight into how the application TCPView by SysInternals works. I am wondering if there is an API (perhaps DeviceIoCtl) that they can use to hook into to receive notifications of when sockets are opened/closed/changed state etc? Or does the application continously poll the GetTcpTable/GetudpTable Thanks in advance.
Hi, If you look at the main page of TCPView, you will see a short introduction of it. TCPView uses IP Helper APIs. You can download the source code of netstatp to have a deep look into its implement. TCPView http://www.sysinternals.com/Utilities/TcpView.html IP Helper http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp /ip_helper_start_page.asp Also this may not be the most appropriate group of your question. The DirectX Networking newsgroup is mainly regarding to game related network pragramming using some DirectX technologies like old DirectPlay. If you have further questions on this issue, you can post it to our Win32 networking newsgroup: microsoft.public.win32.programmer.networks Thanks & Best regards, WenJun Zhang Microsoft Online Partner Support This posting is provided "AS IS" with no warranties, and confers no rights.
My apologies. I posted here because this is was listed as Win32 Networking. I did not even see that it was sub-categorized under DirectX. Thanks for the help. ""WenJun Zhang[msft]"" wrote: > Hi, > > If you look at the main page of TCPView, you will see a short introduction > of it. TCPView uses IP Helper APIs. You can download the source code of > netstatp to have a deep look into its implement. > > TCPView > http://www.sysinternals.com/Utilities/TcpView.html > > IP Helper > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp > /ip_helper_start_page.asp > > Also this may not be the most appropriate group of your question. The > DirectX Networking newsgroup is mainly regarding to game related network > pragramming using some DirectX technologies like old DirectPlay. If you > have further questions on this issue, you can post it to our Win32 > networking newsgroup: > > microsoft.public.win32.programmer.networks > > Thanks & Best regards, > > WenJun Zhang > Microsoft Online Partner Support > > This posting is provided "AS IS" with no warranties, and confers no rights. > > > >
You are welcome. Best regards, WenJun Zhang Microsoft Online Partner Support This posting is provided "AS IS" with no warranties, and confers no rights.