Use same packet definitions for both sockets

This commit is contained in:
Patrick Nicolas
2023-12-16 14:16:47 +01:00
committed by Guillaume Meunier
parent 1792607ada
commit 94e60d4e8b
8 changed files with 9 additions and 22 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ using namespace xrt::drivers::wivrn;
class wivrn_session
{
typed_socket<TCP, to_headset::control_packets, from_headset::control_packets> control;
typed_socket<UDP, to_headset::stream_packets, from_headset::stream_packets> stream;
typed_socket<TCP, to_headset::packets, from_headset::packets> control;
typed_socket<UDP, to_headset::packets, from_headset::packets> stream;
void handshake();