Skip to content

Reliable UDP file Transfer Protocol with Congestion Control and Flow Control

Notifications You must be signed in to change notification settings

rishdas/reliable_udp_file_transfer_protocol

Repository files navigation

			README

# reliable udp file transfer(ruft)
# Taragaryen Server and Martell Client


For detailed information on implementation and design please refer to the write in root directory by the name:
targeryan_server_martell_client_writeup.docx
$ tar -xzf targaryen_martell.tar.gz
$ cd reliable_udp_file_transfer/
+++++TO BUILD THE SERVER++++++
$ make
gcc -c -o ruft_server.o ruft_server.c -g
gcc -I. -o ruft_server.bin ruft_server.o -g

On another Window build the client
+++++TO BUILD THE SERVER+++++++
From the root directory as in :<INSTALLATION ROOT>/reliable_udp_file_transfer
$cd client/
$ make
gcc -c -o ruft_client.o ruft_client.c -g
gcc -I. -o ruft_client.bin ruft_client.o -g



===============================================================================================================
					I.Run Server

SYNTAX: ./ruft_server.bin <port no> <rwnd: In Multiples of 1280(MSS)>
$ ./ruft_server.bin 20010 5120

				       II.Run Client
				       
SYNTAX: ./ruft_client.bin <server_host>	<server_port> <filename.txt> <0|1|2 {0 - No Loss 1 - 
Variable loss2-High Latency}>	<rwnd:Multiple of 1280(MSS)>

$ ./ruft_client.bin localhost 20010 file_small.txt 0 5120
File Recieved
Time taken in micro secs: 3209

===============================================================================================================
				      Sample Test Cases

Sample test cases present in the wrte up
====================================END=======================================

About

Reliable UDP file Transfer Protocol with Congestion Control and Flow Control

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages