948542394e
- Add seq_num and flags to udp_packet_header_t for reliability - Add MAGIC_UDP_ACK packet type and udp_ack_t struct for ACKs - Add UDP constants: WINDOW_SIZE=16, MAX_RETRIES=5, RETRANSMIT_MS=100 - Server: Send cumulative + selective ACKs during UDP transfer - Client: Implement sliding window with retransmission - Client: Add send_file_udp() and send_file_udp_single() functions - Fix server make_path call to not create filename as directory - UDP mode uses single-file protocol (not batch) for reliability Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
31 KiB
Executable File
31 KiB
Executable File