Hololens 2 - Networking and TCP/IP
I have a Unity application running on PC. And a client application running on Hololens 2.
I want to send information from PC to Hololens 2 in local network (Both connected to a modem). I am using System.Net.Sockets
for both server (PC) and client (Hololens 2).
If I run the client on the PC/smartphone(Android) the connection works perfectly, but if I use Hololens 2 as a client, it actually doesn't connect to the PC (Kind of doesn't recognize the API).
Is there a specific API to use to perform this TCP/IP connection ?
Hello ! Did you find a solution ? I have the issue and I could use some help please :)
Hello , I have the same issue do you find some way to make it works?
Answer by felixvh90 · Mar 18, 2021 at 03:18 PM
You can check his implementation. It is for HoloLens 1 but it also worked on HL 2 for me.
https://foxypanda.me/tcp-client-in-a-uwp-unity-app-on-hololens/
Just make sure that the right things are marked in the manifest!