Question : Ad-hoc network

I have one machine ( A) connected to the cable modem. This machine also has a wireless card. My other machine (B) only has the wireless card. I want to share my internet connection to (B).

I setup an ad-hoc network. I manually assigned the IP of (A)'s wifi card to 192.168.1.1. i then put this as the default gateway for (B).  What am i missing?

Thanks

Answer : Ad-hoc network

I've posted this little prog several times and I use it successfully
http://www.analogx.com/contents/download/network/proxy.htm
its called a proxy server, try it you'll like it.
Random Solutions  
 
programming4us programming4us