Ok, I’ve found that problem on both of my machines. Here are some screenshots of one system. There is currently no Dialup Adapter connected, so I cannt show the screenshot where the wrong ip is added to the Wireless Lan Adapter.
But as you can see my Wireless Network Interface (Drahtlosnetzwerkverbindung) is identified as a Dialup Adapter. The virtual Hotspot running on the same Adapter is identified as Network card.
The adapter is a “Atheros AR9285 Wireless Network Adapter”
As far as I can see the m_bIsWan flag is set to true when there are entries in the m_nAdapterMediumList in the method GetTcpipBoundAdaptersInfo of the kernel.
What does the AdapterMediumList exactly represent?
You said that the Nat Example is an example code which was quickly put together. Do you have some hints for me what you would advise me to improve so it gets even better. Maybe something to improve performance or functionality. Thinking about using multiple clients at the same time and I noticed that after a while of excessive using it sometimes drops the connection completly.
So if there are any hints you can give, I’d like to improve the application. 😛