简体   繁体   English

Windows中使用IP Helper的活动UDP连接的远程地址

[英]Remote address of active UDP connections in Windows using IP Helper

The function GetUdpTable() in IP Helper returns a table of MIB_UDPROW . IP Helper中的函数GetUdpTable()返回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. MIB_UDPROW结构不包含有关UDP连接的远程地址的任何信息, GetUdpTable()的扩展变体仅将pid添加到返回结构中。

Is it possible to get the remote address for an active UDP connection using IP Helper (or any other winapi)? 是否可以使用IP Helper(或任何其他winapi)获得活动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. 不可以,由于UDP是无连接协议,因此除非捕获流量并检查数据包,否则无法获得UDP连接的远程端口。

See: Get Destination Ip/Port of active udp Connection? 请参阅: 获取目标ip /活动udp连接的端口?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM