Remote address of active UDP connections in Windows using IP Helper

主宰稳场 提交于 2020-01-06 09:09:25

问题


The function GetUdpTable() in IP Helper returns a table of MIB_UDPROW.

MIB_UDPROW struct does not contain any information about the remote address of the UDP connection, the extended variants of GetUdpTable() only adds the pid to the return struct.

Is it possible to get the remote address for an active UDP connection using IP Helper (or any other winapi)?


回答1:


No, it is not possible to get the remote port of the UDP connection unless you capture traffic and inspect the packets since UDP is a connectionless protocol.

See: Get Destination Ip/Port of active udp Connection?



来源:https://stackoverflow.com/questions/51981485/remote-address-of-active-udp-connections-in-windows-using-ip-helper

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!