Author Topic: Hololens compatible?  (Read 1773 times)

launchpad

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Hololens compatible?
« on: September 18, 2016, 02:14:55 AM »
Hi, Is it possible to deploy the TNet3 example to a Hololens? I get a range of errors e.g.

Assets\TNet\Common\TNSerializer.cs(17,36): error CS0234: The type or namespace name 'Formatters' does not exist in the namespace 'System.Runtime.Serialization' (are you missing an assembly reference?)
Assets\TNet\Server\TNTcpLobbyServer.cs(28,2): error CS0246: The type or namespace name 'TcpListener' could not be found

I understand that UWP doesn't support all the framework components so I am interested if TNet3 will work in this environment.

With thanks, Peter
« Last Edit: September 18, 2016, 02:23:44 AM by launchpad »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Hololens compatible?
« Reply #1 on: September 18, 2016, 07:35:16 PM »
if System.Net.Sockets.TcpListener is not available, then no, it won't work. Not sure why something as critical as that would be missing though?

Doing a google search suggests that it is now in Windows.Networking.Sockets. Maybe try using that namespace?