Robin Andersson
Robin Andersson

Reputation: 5380

Remote address of active UDP connections in Windows using IP Helper

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)?

Upvotes: 1

Views: 675

Answers (1)

Robin Andersson
Robin Andersson

Reputation: 5380

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?

Upvotes: 4

Related Questions