Multi-Player Game over Bluetooth?

Panathas

New member
Oct 4, 2012
249
0
0
Visit site
Hi!
Is it possible to establish a connection between two Windows Phones by using Bluetooth and, e.g. for a multi-player game? Or do you have to use a server?
 

thed

New member
Jan 6, 2011
992
3
0
Visit site
Not until WP8. WP7 doesn't provide native access to the Bluetooth stack. But according to leaked SDK docs WP8 will.
 

Panathas

New member
Oct 4, 2012
249
0
0
Visit site
No way to do it over bluetooth, but it looks like you can do this over wifi using UDP multicast:

Windows Phone Peer-to-Peer Multiplayer Game using Sockets in XNA - Ricky Tan's blog - Site Home - MSDN Blogs

One more question:
Is it necessary to be in the same wifi network or is a p2p connection between to WP devices possible without the need of a router? Because in your link it says: "Phones running the game on the same WiFi network automatically discover one another and the players just appear on the screen."
 

thed

New member
Jan 6, 2011
992
3
0
Visit site
One more question:
Is it necessary to be in the same wifi network or is a p2p connection between to WP devices possible without the need of a router? Because in your link it says: "Phones running the game on the same WiFi network automatically discover one another and the players just appear on the screen."
I don't think WP7 supports ad hoc networking. So unfortunately if you want to make things work without a network you'll have to wait for WP8 :(
 

Members online

Forum statistics

Threads
323,235
Messages
2,243,499
Members
428,047
Latest member
rorymi6