Questions tagged [iphelper]
22 questions
1
vote
1 answer
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…

Robin Andersson
- 5,150
- 3
- 25
- 44
1
vote
1 answer
Any standard C#.NET way to utilize WMI IPHelper?
Does anyone know if there is an existing C#.NET namespace that contains the equivalent of the WMI IPHelper functions? Specifically I need to call CreateIpForwardEntry and DeleteIpForwardEntry. Is the only way via P/Invoke? (NOTE: this isn't a…

ProfNimrod
- 4,142
- 2
- 35
- 54
1
vote
2 answers
get mac addresses of wireless adapters in c++ on WinXP and above
I would like to have the above.
I found the IP Helper API, and it works. Only problem is that on systems older than Vista I can not identify whether the adapter is wireless or a regular Ethernet.
I need to support WinXP and Server 2003 as well.
Here…

michaelr524
- 871
- 2
- 11
- 21
1
vote
1 answer
Segmentation fault when changing default gateway
I wrote a simple application on Qt4 that modifier network adapter parameters, for that I have a slot called setInterfaceParams, implemented as so:
DWORD WinNetInterface::setInterfaceParams(QString index, QString ip, QString netmask, QString…

SIFE
- 5,567
- 7
- 32
- 46
0
votes
1 answer
Network Adaptro configured with ip address or not? How to check using vc++/Windows api?
Hi Could any one share about Network Adaptor configured with ip address or not eithor using dhcp or manual. How to check using vc++/Windows api?

Hara
- 1,467
- 4
- 18
- 35
0
votes
1 answer
Why does DeleteIPAddress fails when deleting the adapter's default IP?
I'm trying to write a program that will switch the selected adapter's IP on command.
For that, i'm using the GetAdaptersInfo() function to get the adapter's Index and it's IP context, and then using that to delete the current IP (through…

ememorais
- 329
- 2
- 11
0
votes
1 answer
What is the IPHelper api to retrieve netmask information?
My first bet was GetIpAddrTable() as there was sample code, but it only supports IPv4. Then I tried GetAdaptersInfo(), but the document suggests it is obsoleted by GetAdaptersAddresses(). Any code sample to get the netmask using…

Dyno Fu
- 8,753
- 4
- 39
- 64