Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: glaubergft on September 03, 2013, 01:56:28 PM

Title: Windows Phone 8 / Windows Store
Post by: glaubergft on September 03, 2013, 01:56:28 PM
Hi,

Does TNET support WP8 and Windows Store?

Thanks in advance
Title: Re: Windows Phone 8 / Windows Store
Post by: ArenMook on September 04, 2013, 03:30:34 AM
As long as Unity supports sockets on those platforms, yes.
Title: Re: Windows Phone 8 / Windows Store
Post by: wstumpf on October 25, 2013, 02:51:39 PM
So...it seems the Windows Phone Platform itself does not support a lot of the sockets API (http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.net.sockets(v=vs.105).aspx).  I think they would prefer people to use windows.networking.sockets (http://msdn.microsoft.com/library/windows/apps/br226960). 

Specifically to TNet, it seems like System.Net.Sockets.TcpListener, System.Net.Sockets.SocketFlags, System.Net.Sockets.SocketOptionName, System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.UdpClient, System.Net.Dns, System.Net.IPHostEntry, System.Net.Dns, and (although not networked related and easy to work around) System.Collections.Queue are not supported.

I know you probably won't add support for Windows Phone 8, but I just want to make sure.  Do you have any advice before I try doing this myself (i.e. is this a fool's errand)?  Thanks.
Title: Re: Windows Phone 8 / Windows Store
Post by: ArenMook on October 26, 2013, 08:00:27 PM
As long as the two implementations are remotely similar, you should be able to adapt it. However I haven't looked at it as I don't have Windows 8, so I can't be of much help on the matter.