Hi All,
I am making use of netvmini sample(Virtual miniport driver). I
have modified the code in such a way that i can change the cable status using
control codes which will trigger a NDIS_MEDIA_STATUS_CONNECT and
NDIS_MEDIA_STATUS_DISCONNECT in driver. It is working fine.
But sometimes though adapter is configured to use static
IP, on receiving CONNECT control code which will trigger
NDIS_MEDIA_STATUS_CONNECT, the status in the network connections window says
"Acquiring network address" . The ip address displayed is 0.0.0.0 but soon
after the status becomes connected and it chages back to static IP which i
configured .
What i observed is this happens with LAN as well as WLAN in my machine when
they are configured with static IP. When i unplug and plug network cable of
LAN adapter, the same event happens sometimes which results in erratic
behavior of sockets.
Could anyone let me know how can i fix this?Would be of great help if u
could let me know what all are the events happens at "Acquiring network
address".
Thanks,
Senthil