HoloLens Web Sites

I am trying to program the websocket client for HoloLens using System.Net.Sockets;. It works in Unity, but when I try to build it for HoloLens, I get errors like:

Socket does not contain a definition of Connect

Websocket libraries for Unity also do not work. How can I create a websocket client for HoloLens?

+4
source share
2 answers

I believe that you will need to use websockets for UWP for holons and use System.Net.SocketsUnity for the editor and wrap the UWP code in NETFX_COREor WINDOWS_UWPdefine.

+4
source

WWW http-/! http , .

+1

Source: https://habr.com/ru/post/1661457/


All Articles