Remote address of active UDP connections in Windows using IP Helper

601 Views Asked by At

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

There are 1 best solutions below

0
On BEST ANSWER

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?