Recently I wrote a program which used the Wireless Hosted Network API to make SoftAP and shared the internet connection using ICS.I followed this samplehttp://msdn.microsoft.com/en-us/library/windows/desktop/ee354192(v=vs.85).aspx .This sample worked well in Win7,but did not work in Win8. My SoftAP must run in Win8.
I used the Wireless Hosted Network API to make SoftAP,and then enable ICS in "Network and Internet" in Control Panel,it could work well.The SoftAP could be searched by others,and could access the Internet.Why?
If I followed the sample to enable ICS,the ICS was running,but the SoftAP could not access the Internet.Why?
Can anyone help me?Can anyone give me some ideas? Or some samples. I am crazy!Thanks!