Author Topic: Windows Phone 8 / Windows Store  (Read 4040 times)

glaubergft

  • Guest
Windows Phone 8 / Windows Store
« on: September 03, 2013, 01:56:28 PM »
Hi,

Does TNET support WP8 and Windows Store?

Thanks in advance

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Windows Phone 8 / Windows Store
« Reply #1 on: September 04, 2013, 03:30:34 AM »
As long as Unity supports sockets on those platforms, yes.

wstumpf

  • Guest
Re: Windows Phone 8 / Windows Store
« Reply #2 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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Windows Phone 8 / Windows Store
« Reply #3 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.