how can we create ad hoc network using wi-fi by how i mean how we can implement a connection between two pocket pc using wi-fi give me a sample of code in any programming language that can built a connection between the pocket pc using wi-fi
Do you know what p/invokes you would use All I can find is windows vista NativeWifi and I am even having trouble finding out what dll to call it out of.
the first site discussing the same issue but they did not complete their discussion, the second site give me the steps to setup the ad hoc on WinXP which i already know it. i wish i can find a site with full of description like the one which u give me about "blutetooth"
Hi, I have a related question. Can we use the .Net framework to write drivers for Wi-Fi connections Typically laptops with Windows XP have a Intel Centrino Wi-Fi card. However the underlying Wi-Fi chip (intel etc) should'nt matter if Windows provides a common API to access them to do some basic functionality such as Scan, Join etc which are part of the standard wi-fi protocol. Would anyone know if this is possible
I have the same problem as Rose. I have written a very simple client/server application which runs well on lan(the application transfers files).Unfortunately, it doesn’t run well when I try to use it on wifi ad-hoc. My problem is that client can’t connect to the server (i did not have those problems on lan). Should I use a specific AddressFamily or ProtocolType when creating the socket This is my code when creating the socket:
how to create ad hoc network using wi-fi
Philly Baby (New York City)
Do you know what p/invokes you would use All I can find is windows vista NativeWifi and I am even having trouble finding out what dll to call it out of.
thoughts
thanx
el_d
the first site discussing the same issue but they did not complete their discussion,
the second site give me the steps to setup the ad hoc on WinXP which i already know it.
i wish i can find a site with full of description like the one which u give me about "blutetooth"
any way thanks again
M D Larsen
I have a related question. Can we use the .Net framework to write drivers for Wi-Fi connections Typically laptops with Windows XP have a Intel Centrino Wi-Fi card. However the underlying Wi-Fi chip (intel etc) should'nt matter if Windows provides a common API to access them to do some basic functionality such as Scan, Join etc which are part of the standard wi-fi protocol. Would anyone know if this is possible
Thanks,
kopi
vnpro
You could always do P/Invokes :-)
ErSehmi
http://forums.devx.com/showthread.php t=143917
Also, this article talks about ad hoc setup on WinXP:
http://support.microsoft.com/default.aspx scid=kb;en-us;873170
Would bluetooth suit your needs
This page details bluetooth support on Windows CE:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50conbluetoothsamples.asp
JanDV
Should I use a specific AddressFamily or ProtocolType when creating the socket
This is my code when creating the socket:
m_mainSocket =
new Socket(AddressFamily.InterNetwork,SocketType.Stream,
ProtocolType.Tcp);
Thanks for your help :-)The SZ
Your code is correct. Did you try pinging the server from your WiFI adhoc.