RDDP (Remote Desktop Datagram Protocol) is similar like RDP (Remote Desktop Protocol) but using UDP as main protocol instead of TCP/IP, most care about speed and low latency at cost of quality due to compression.
Protocol Rule:
- Client send
ACKto addrPortServer periodically every 3 seconds. - Server receive
ACKand got addrPortClient - Server send
SYNto addrPortClient - Server send
<ENCRYPTED IMAGE>to addrPortClient - Client check if
SYNthen reserve buffer (bytesReceived) otherwise fill the buffer. - Client know if the data completed transfer if length of bytesFromServer is not equal to 508 (payload size).