8000 GitHub - wangty27/GBN-ARQ: Python implementation of simple GBN-ARQ, socket programming assignment
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Python implementation of simple GBN-ARQ, socket programming assignment

Notifications You must be signed in to change notification settings

wangty27/GBN-ARQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run the scripts (with network Emulator already running):

  • Starting the sender:

    ./sender.sh <host address of the network emu lator> <UDP port number used by the emulator to receive data from the sender> <UDP port number used by the sender to receive ACKs from the emulator> <name of the file to be transferred>

    Example:

    $ ./sender.sh 129.97.167.27 9001 9002 "send.txt"
  • Starting the receiver:

    ./receiver.sh <hostname for the network emulator> <UDP port number used by the link emulator to receive ACKs from the receiver> <UDP port number used by the receiver to receive data from the emulator> emulator> <name of the file into which the received data is written>

    Example:

    $ ./receiver.sh 129.97.167.27 9004 9003 "receive.txt"

Python version:

Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux

About

Python implementation of simple GBN-ARQ, socket programming assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0