Based on this article: http://blog.functionalfun.net/2011/02/how-to-deploy-to-and-debug-multiple.html I started example game on 2 emulators (http://blogs.msdn.com/b/rickyt/archive/2011/06/15/windows-phone-peer-to-peer-multiplayer-game-using-sockets-in-xna.aspx)
but they cannot see each other...
exception:
[System.Net.Sockets.SocketException] {"An unknown, invalid, or unsupported option or开发者_JS百科 level was specified in a getsockopt or setsockopt call"} System.Net.Sockets.SocketExceptionThere is only very limited socket support in the emulator. -Sorry. just looked but can't find the link :(
If you want to use sockets you'll have to test with an actual device(s).
Windows phone and thus silverlight doesn't support "listen" command and they can only act as an client so you can't create peer to peer application in this platform.
精彩评论