CS3251-A Fall 2015 Programming Assignment 2 - November 25, 2015
Developer | gtID | |
---|---|---|
R. Elliott Childre | [email protected] | rchildre3 |
Derrick Williams | [email protected] | dwilliams306 |
To run the FxA application use the following commands with Python 2.7
python FxA-server.py X A P
The command-line arguments are:
- X: the port number at which the FxA-server's UDP socket should bind to (odd number)
- A: the IP address of NetEmu
- P: the UDP port number of NetEmu
Command: window W
- Set the maximum receiver's window-size at the FxA-Server
- W: The window-size (in segments).
Command: terminate
- Shut-down FxA-Server gracefully.
python FxA-client.py X A P
The command-line arguments are:
- X: the port number at which the FxA-client's UDP socket should bind to (even number). Please remember that this port number should be equal to the server's port number minus 1.
- A: the IP address of NetEmu
- P: the UDP port number of NetEmu
Command: connect
- The FxA-client connects to the FxA-server (running at the same IP host)
Command: get F
- The FxA-client downloads a file from the server (if it exists in the same directory with the FxA-server program)
- F: The File to retrieve
- Requires Existing Connection
Command: post F
- The FxA-client uploads a file to the server (if F exists in the same directory with the FxA-client program)
- F: The File to upload
- Requires Existing Connection
Command: window W
- Set the maximum receiver's window-size at the FxA-client
- W: The window-size (in segments).
Command: disconnect
- The FxA-client terminates gracefully from the FxA-server
- Requires Existing Connection