Allow operations using only TCP

This commit is contained in:
Patrick Nicolas
2024-05-16 15:19:56 +02:00
parent f092a3fac0
commit 111afd4737
7 changed files with 114 additions and 51 deletions
+5
View File
@@ -68,6 +68,11 @@ xrt::drivers::wivrn::UDP::UDP()
throw std::system_error{errno, std::generic_category()};
}
xrt::drivers::wivrn::UDP::UDP(int fd)
{
this->fd = fd;
}
void xrt::drivers::wivrn::UDP::bind(int port)
{
sockaddr_in6 bind_addr{};