Coder Social home page Coder Social logo

reldat's Introduction

William Christian - [email protected]
April 3, 2017

CS 3251 Project 2

PYTHON VERSION 2.7

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Files:

-reldat-client ~ the client side of the RELDAT protocol
-reldat-server ~ the client side of the RELDAT protocol
-utils.py ~ common functions shared between hosts
-sample.txt ~ a sample text file to send to serverIP
-DesignDocument.pdf ~ more detail of the RELDAT protocol
-README.txt ~ this file

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

How To Run:

Make sure to run using Python 2.7.

To start the server, navigate to the file in terminal in enter the following command:
 -$ python reldat-server <PORT> <WindowSize>
 e.g.) python reldat-server 5099 35

 Next, start the client by entering:
 -$ python reldat-client <IP:PORT> <WindowSize>
 e.g.) python reldat-server 127.0.0.1:5099 35

You will now see the following prompt in the reldat-client terminal:

ENTER: connect, transform <filename.txt>, or disconnect:

You first need to enter 'connect' to establish a connection with the server on the specified port.
e.g.) ENTER: connect, transform <filename.txt>, or disconnect: connect

Once connected, we can send a file to the server as follows:
ENTER: connect, transform <filename.txt>, or disconnect: transform sample.txt

Finally, we can disconnect from the server by typing 'disconnect'
e.g.) ENTER: connect, transform <filename.txt>, or disconnect: disconnect

reldat's People

Contributors

willchristian343 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.