简体   繁体   中英

WP8/Win8 Store App - Sockets

Justed tried to add multiplayer support for a monogame project. I wanted to use libgren but as far as I could see there are no networking classes available on windows phone. Is there any workaround? How can send and recieve tcp and udp packets on windows phone? The same question applies to Windows 8 Store Apps.

There are sockets for Windows Phone 8.1 and Windows 8.1 - http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.aspx . If you are targeting WP8 (not 8.1) you will need to use the Silverlight Windows Phone 8 sockets - http://msdn.microsoft.com/en-us/library/windows/apps/hh202874(v=vs.105).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM