Skip to main content
New Participant
October 25, 2019

TCP Connection broken in Recent Update

I've been using WinSock2 to have the Oculus Quest as a client for a C++ server. It's been working fine during development for quite a while until a recent update on the Quest. I don't know what changed in the past 2 weeks, but something broke the TCP connection. When I do the C# command Socket.Connect(endpoint), it halts indefinitely.

I've tried all my past builds with the exact same setup. Everything still works in Unity while testing. When I run it on the Quest, it's specifically Socket.Connect(endpoint) that no longer works. I know my PC and the Quest are communicating since I have UDP scripts that are sending info over the network and those are working.

Any ideas for why TCP suddenly broke?
This topic has been closed for replies.

4 replies

New Participant
October 25, 2019
Edit: **System.Net.Sockets.
I'm not using WinSock2. I was using that for the HoloLens
New Participant
November 1, 2019
Turns out that my Wi-FI turned itself into a Public connection, while it needed to be Private for the sharing features. If any of you run into this problem, make sure you turn on home sharing!
March 28, 2022

Hi! 🙂 Is your C++ server running on a pc in the same network? Do you know if I can do something similar with Python? Thank you so much!!! It would be so useful!