S
StoutProgrammer
Guest
Hi. Are there examples on how to use GetExtendedUdpTable? My requirement is to write unmanaged C++ code that gets the list of UDP ports that are active.
I've searched online, but could not find a single example on how to use it.
Basically I need to do something similar to this code:
using namespace System;
using namespace System::Net;
auto activeUdpListeners = System::Net::NetworkInformation::IPGlobalProperties::GetIPGlobalProperties()->GetActiveUdpListeners();
Problem is, I am not allowed to write managed C++ code that relies on the CLR. It has to be unmanaged.
One person suggested we use GetExtendedUdpTable, but I could not find any samples.
Can anyone help?
Thank you.
Continue reading...
I've searched online, but could not find a single example on how to use it.
Basically I need to do something similar to this code:
using namespace System;
using namespace System::Net;
auto activeUdpListeners = System::Net::NetworkInformation::IPGlobalProperties::GetIPGlobalProperties()->GetActiveUdpListeners();
Problem is, I am not allowed to write managed C++ code that relies on the CLR. It has to be unmanaged.
One person suggested we use GetExtendedUdpTable, but I could not find any samples.
Can anyone help?
Thank you.
Continue reading...