Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 9 of 9
  1. Panathas's Avatar
    Member

    Posts
    145 Posts
    Global Posts
    146 Global Posts
       #1  
    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?
  2. thed's Avatar
    Member

    Posts
    993 Posts
    #2  
    Not until WP8. WP7 doesn't provide native access to the Bluetooth stack. But according to leaked SDK docs WP8 will.
  3. Panathas's Avatar
    Member

    Posts
    145 Posts
    Global Posts
    146 Global Posts
       #3  
    Thank you very much, so that means....waiting and hoping :/
  4. parshi4500's Avatar
    Member

    Posts
    2 Posts
    #4  
    Yes It is possible... My Cousin lived in Us, doing the same, I'll try to contact with him and pm you..
    Last edited by parshi4500; 05-29-2013 at 06:39 AM.
    Parshi
  5. Panathas's Avatar
    Member

    Posts
    145 Posts
    Global Posts
    146 Global Posts
       #5  
    Really? N1, thank you :)
  6. thed's Avatar
    Member

    Posts
    993 Posts
    #6  
    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
    Thanked by:
  7. Panathas's Avatar
    Member

    Posts
    145 Posts
    Global Posts
    146 Global Posts
       #7  
    That`s even better
  8. Panathas's Avatar
    Member

    Posts
    145 Posts
    Global Posts
    146 Global Posts
       #8  
    Quote Originally Posted by thed View Post
    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."
  9. thed's Avatar
    Member

    Posts
    993 Posts
    #9  
    Quote Originally Posted by Panathas View Post
    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 :(

Posting Permissions