From ab2bff173182cc82757865e26562ba189f145172 Mon Sep 17 00:00:00 2001 From: Pablu23 Date: Thu, 9 Nov 2023 11:26:46 +0100 Subject: [PATCH] Protocol changes --- protocol.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol.md b/protocol.md index cf7ffd3..2061924 100644 --- a/protocol.md +++ b/protocol.md @@ -2,9 +2,9 @@ // Handshake or encryption setup here 1. Client sends request for file -2. Server answers with error or how many packets to expect +2. Server answers with error or FileSize (possibly also Packetsize) 3. Client ack -4. Server sends Packets with Sync to keep track +4. Server sends File Packets with Sync to keep track 5. Server sends Sync End Packet // LOOP 6. If Packets were lost client sends request to resend specific Sync Packets