使用 IP Helper 的 Windows 中活动 UDP 连接的远程地址 [英] Remote address of active UDP connections in Windows using IP Helper
本文介绍了使用 IP Helper 的 Windows 中活动 UDP 连接的远程地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
函数GetUdpTable() 在 IP Helper 返回MIB_UDPROW一>.
MIB_UDPROW
struct 不包含任何关于 UDP 连接的远程地址的信息,GetUdpTable()
的扩展变体只添加了 pid
到返回结构.
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.
是否可以使用 IP Helper(或任何其他 winapi)获取活动 UDP 连接的远程地址?
Is it possible to get the remote address for an active UDP connection using IP Helper (or any other winapi)?
推荐答案
否,除非您捕获流量并检查数据包,否则无法获取 UDP 连接的远程端口,因为 UDP 是无连接协议.
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.
这篇关于使用 IP Helper 的 Windows 中活动 UDP 连接的远程地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文