Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Networking with the HoloLens

Hi,

I hope this Question is in the right category. I'm currently working on a Server - Client app, where the Client runs on the HoloLens in Unity and the Server on Linux. Because my latencies were very unstable I gathered some data and made these graphs:

Without any other traffic
Sending a package from the HoloLens to the server and back (TCP)

Sending a package from the HoloLens to the server and back (UDP)

With traffic (around 300 * 62 Bytes per second)
Sending a package from the HoloLens to the server and back (TCP)

I'm using System.Net.Sockets.Socket.Socket on the HoloLens with the functions SendAsync() (TCP) and SendToAsync() (UDP).

I know that I should not use TCP for so many small packages, that's why I switched to UDP. But I still keep getting very large peeks. The server is locally connected to the HoloLens by wifi, so no latency > 10ms should exist.

Thanks for your help,

Louis

Tagged:

Answers

Sign In or Register to comment.