Robin Müller
06e30684fe
Merge remote-tracking branch 'upstream/development' into develop
2023-02-07 12:14:31 +01:00
Robin Müller
5c35b8e3cd
proper announce all impl
2023-02-01 17:07:38 +01:00
Robin Müller
9b05e8f274
re-order fields in TcpConfig
2023-01-30 14:24:48 +01:00
Robin Müller
7766b24a1d
re-order fields in TcpConfig
2023-01-30 14:24:28 +01:00
Robin Müller
99d8c845f2
allow using SO_REUSEADDR and SO_REUSEPORT on TCP server
2023-01-30 14:07:41 +01:00
Robin Müller
c64b9b3e71
allow using SO_REUSEADDR and SO_REUSEPORT on TCP server
2023-01-30 14:05:39 +01:00
Robin Müller
1037102349
merge retval refactoring
2022-08-16 01:08:26 +02:00
Robin Müller
62fe75ee40
perform renaming
2022-08-15 20:28:16 +02:00
Robin Müller
5355e63711
use result instead of retval
2022-07-27 21:43:32 +02:00
Robin Müller
88ebb67c8d
fix deprecation warnings
2022-07-26 10:27:44 +02:00
Robin Müller
16e55a98ce
important bugfix for TCP server
2022-05-09 10:57:23 +02:00
Robin Müller
ddcac2bbac
reapply clang format
2022-02-02 10:29:30 +01:00
Robin Müller
a619087fef
Merge remote-tracking branch 'upstream/mueller/tcp-windows-fixes' into mueller/tcp-keep-open-pr
2021-09-28 17:35:07 +02:00
Robin Müller
32b5060c62
all windows fixes
2021-09-28 17:28:54 +02:00
Robin Müller
1622e23f1c
delay configurable
2021-09-28 15:33:31 +02:00
Robin Müller
e536918804
wiretapping in runtime config now
2021-09-28 15:09:56 +02:00
Robin Müller
09299802f0
TCP refactoring
...
This refactoring keeps the TCP connection opened until the client closes
it. It also increased the robustness of the TCP reception.
Because TCP is stream based and usually applied to newline separated
data, a special way to handle binary space packets is required.
The new SpacePacketParser class takes care of this by taking TC packet
IDs as as optional start markers to parse for space packets in a given
buffer.
The refactored TCP server uses a ring buffer, a reception buffer and the
new parser to extract space packets from a stream in a safer way.
2021-09-28 15:01:01 +02:00
Robin Müller
14a30f30db
More improvements for TCP/UDP port definition
2021-08-09 18:13:02 +02:00
Robin Müller
ccaa0aa24f
Cleaning up TCP and UDP code
...
Same port number used as before, but some inconsistencies fixed
2021-08-09 16:59:41 +02:00
Robin Müller
d47906e833
trying to fuse header / inc
2021-07-19 16:25:51 +02:00