title: How to get remote ip address and port from active udp connection?
body: <p>I'm working on a graphical windows application. So solutions on c++ and c# are prefered.</p>
  
  <p>For my application, I need to get the remote address and port from active udp connection from a specific process.</p>
  
  <p>I tried <code>IP Helper</code> API but the methods for UDP don't give remote address and port.</p>
  
  <p>I've already see these posts <a href="https://stackoverflow.com/questions/17745971/get-destination-ip-port-of-active-udp-connection">Get Destination Ip/Port of active udp Connection?</a> and <a href="https://stackoverflow.com/questions/51981485/remote-address-of-active-udp-connections-in-windows-using-ip-helper/51981486#51981486">Remote address of active UDP connections in Windows using IP Helper</a>.</p>
  
  <p>I understand why IP Helper can't do the job (udp is connectionless and need to capture packet) but I found nothing concrete how to accomplish that.</p>
  
  <p>Have you a solution ready to use or something close to it?</p>