This particular repository contains the source code of the Reliable User Datagram Protocol for File transfer protocol
-
Actual transmission is on UDP & derudp is just an adaptor for the udp
-
Connection is established using three-way handshake mechanism between sender and receiver
-
There are two buffers in both sender and receiver
-
if connection established.. sends the packets to the two data buffer-queue.
-
Now if in data buffer-queue, Derudp adopts
- queue-partition recognition
- queue-partition reorganization
-
Both the sides, data in each buffer-queue has
- buffer-queue name
- data number flag (the packet start number and end number)
- over-time variability
- time-out flag
- packets loss flag
- packets retransmission data area
- packets send data area
-
The retransmission data area stores the packet number to be retransmitted
-
The sending data area stores the packet number of the current queue to be sent.
-
The receiver also has the same buffer-queue used to store the received data packets
-
Extract the received data packet and reorder the unordered packets.
[todo]
- heartbeat packet to be checked
- Retranmission to be changed dynamically
- Need to change the list to python queue
- Need to fix the recurrsive error
- Need to plot the results and acculumate the content together
[Easily done] > can utilise the ftp, chat application