Fix tcp-only when initiated by client

This commit is contained in:
Patrick Nicolas
2024-11-29 13:35:27 +01:00
parent a6977ca27f
commit 79b1924b45
+1
View File
@@ -226,6 +226,7 @@ void wivrn::wivrn_connection::init(std::stop_token stop_token, std::function<voi
else
{
// No stream socket
stream = decltype(stream)(-1);
}
control.send(to_headset::handshake{.stream_port = port});