superfury1 - 2022-03-04

It uses the following packets:
0xFF with the next byte being break(bit 2)/DTR(bit 1)/RTS(bit 0)
That one is sent when the connection is made with the TCP server/client, from both sides, to initialize their respective signals from the modem control and line control registers.
It's also sent when those lines on the senders side change (by updating those registers).
When receiving "0xFF, 0xFF", the other side is literally sending the 0xFF byte. In all other cases, it's a normally sent byte over the TCP connection(from the base I/O port of the UART).

The RTS of the packet's sender is connected to CTS, and the DTR to DSR. Break obviously executes the break signal on the sending line.