开发者

windows phone peer-to-peer - emulator don't see second emulator

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.SocketException


There 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜