ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

RFC: USB should force TCP

Open Vixea opened this issue 2 years ago • 4 comments

USB traffic only supports TCP. Forcing it to TCP when using USB(detecting it probably though the ip). It should also only last for the session defaulting back to the users choice once disconnected, and if on re-connection should be forced back to TCP.

Vixea avatar Feb 05 '23 22:02 Vixea

I'm in favor on a PR for this, but I plan to implement direct USB support without ADB once we switch to the message-io socket (is supports custom transmission backends).

zmerp avatar Feb 05 '23 22:02 zmerp

Since we aren't switching to message-io what are the current plans on this @zarik5

Vixea avatar May 25 '23 21:05 Vixea

The main issue is that the current sockets code is async but the library is sync. I may decide to switch to message-io after all in place of libp2p, since this last one seems to be async-first and has poor support for sync mode.

zmerp avatar May 27 '23 03:05 zmerp

Client now connects to localhost TCP automatically, and if server has localhost client authorised, it connects

Meister1593 avatar Feb 17 '24 13:02 Meister1593