#!/bin/bash #Run script for receiver as part of #Assignment 2 #Computer Networks (CS 456) #Number of parameters: 4 #Parameter: # $1: # $2: # $3: # $4: file_to_be_saved #For Python implementation if [ "$#" -ne 4 ]; then echo "Program takes 4 parameters, which are a host address, host port, receiver's port, and filename to be saved" exit 1 fi python3 receiver.py $1 $2 $3 $4