Quantcast
Channel: Answers for "Networking with Windows Phone 8"
Viewing all articles
Browse latest Browse all 10

Answer by tobiass

$
0
0
I don't know if I should say that here but Windows 8 Store and Phone is a bit messy. The APIs for TCP in those two platforms are very different between each other **and** different from what Unity offers. We ended up implementing our own socket class for PUN. This is then implemented in three ways: Unity, Windows Phone and Windows Store. Each variant is included in a assembly file (dll) and put into Unity's special Plugins (sub)folders. The trick is: We use one class only and when Unity generates the Phone or Store projects, it replaces the dll it uses with the one specific for the platform. It looks the same but works different inside. A new networking solution from Unity is coming which will support all platforms. If you don't need the authoritative in-Unity hosting, you can also try [PUN Free][1] which is similar to the older Unity Networking and cross platform. [1]: http://u3d.as/2ey

Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>