Fix tcp-only when initiated by client
This commit is contained in:
@@ -226,6 +226,7 @@ void wivrn::wivrn_connection::init(std::stop_token stop_token, std::function<voi
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// No stream socket
|
// No stream socket
|
||||||
|
stream = decltype(stream)(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
control.send(to_headset::handshake{.stream_port = port});
|
control.send(to_headset::handshake{.stream_port = port});
|
||||||
|
|||||||
Reference in New Issue
Block a user