35 Commits
Author SHA1 Message Date
Patrick Nicolas 8738131fb1 Native USB networking for Quest
Requires Horizon OS >= 2.6
2026-08-29 12:33:59 +02:00
HttpAnimations 8b54ba1643 Check return value of recvfrom in UDP receive_from_raw (#1040) 2026-07-24 15:02:47 +02:00
HttpAnimations b5c5f0e09d Reject oversized TCP control packets 2026-07-21 09:34:09 +02:00
Patrick Nicolas 9491f02bc0 Update Android NDK 2026-07-20 18:54:53 +02:00
Patrick Nicolas 62a626e35e Avoid memory allocation in UDP receive 2026-01-19 21:41:04 +01:00
Patrick Nicolas e06d0d0943 Optimize away a memory allocation 2026-01-19 21:41:04 +01:00
Patrick Nicolas efde4bf247 Remove byte counters from sockets 2025-11-11 21:12:01 +01:00
Patrick Nicolas bebd2cd97e Fix incorrect error reported on socket creation 2025-08-20 22:11:43 +02:00
Guillaume Meunier 9ded9d37f7 Send packet size on 32 bits instead of 16 bits in TCP 2025-08-03 10:50:22 +02:00
Guillaume Meunier 5cf1697c5d Fix connection issue when several network interfaces are connected on the same network 2025-04-27 16:03:27 +02:00
Patrick Nicolas 10cebc6b4a Don't try to receive 0 sized data 2025-02-21 21:17:00 +01:00
Patrick Nicolas 3817dd4363 Skip sendmmsg if there is nothing to send 2025-02-15 18:45:35 +01:00
Patrick Nicolas bb6d6c578a Remove some allocations in tracking thread 2025-02-05 16:55:25 +01:00
Patrick Nicolas 428efaa7f5 Fix upload counter 2024-12-16 12:03:57 +01:00
Guillaume Meunier c6e773fd22 Add support for authentication and encryption 2024-11-26 23:59:35 +01:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
Patrick Nicolas 00a4562625 Pack UDP send in tracking thread 2024-10-02 18:39:40 +02:00
Guillaume Meunier 07e7cdcfa3 Check if __cpp_lib_smart_ptr_for_overwrite is defined before using it 2024-10-01 23:04:33 +02:00
Guillaume Meunier 5e6512d825 Fix various warnings 2024-10-01 23:04:19 +02:00
Patrick Nicolas 4e62854fb8 Use recvmmsg for UDP socket 2024-08-31 14:34:36 +02:00
Patrick Nicolas ca1f478299 Receive larger buffers for TCP socket 2024-08-31 14:34:36 +02:00
Patrick Nicolas 0aa5284165 Replace std::vector with shared_ptr in deserialization 2024-08-31 14:34:36 +02:00
Patrick Nicolas 111afd4737 Allow operations using only TCP 2024-05-16 15:19:56 +02:00
Patrick Nicolas 641e2cb182 Optimize away a few memory allocations 2024-05-04 16:29:26 +02:00
Patrick Nicolas 2bfe49764a Lock TCP socket a little less 2024-04-14 15:17:39 +02:00
Patrick Nicolas 842fae3b27 Encode TCP size on 16 bits 2024-03-05 09:25:15 +01:00
Patrick Nicolas 91f6dc08f0 Handle big UDP packets 2024-02-25 16:09:32 +01:00
Guillaume Meunier 2e53f91f93 Add performance metrics plot 2024-02-18 09:03:46 +01:00
Patrick Nicolas e2868547e2 remove copies in audio thread 2023-11-22 00:00:55 +01:00
Patrick Nicolas 8b0895913b Reduce some copies in serialization
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas bd8183bbd2 Set send buffer size 2023-11-22 00:00:55 +01:00
Patrick Nicolas 38fcf7dc00 Rework stream socket
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Patrick Nicolas 3473f00e0c Add expedited forwarding ToS flag in stream socket 2023-10-20 11:27:23 +02:00
Patrick Nicolas 9dd10e5261 Improve audio latency
Switch from module-simple-protocol-tcp + null sink/source to pipe
sink/source and custom network streaming.
2022-12-04 18:09:11 +01:00
Guillaume Meunier 4baf2b17eb move stuff in common, clang-format, update copyright 2022-11-13 11:00:04 +01:00