Giter Site home page Giter Site logo

cpsc5042clientserver's Introduction

CPSC5042ClientServer

This is a first iteration of a client server project for CPSC5042.

The Server folder contains three files that is based on currently a single threaded server. It contains two RPCS connect disconnect

THe implementation involves passing a string of "MIKE", "MIKE" to correctly get into the server code. It is hardcoded, but should be changed to something that does some type of authentication.

It uses a concept of sending server arguments via a semicolon delimited arguments. There is a parser on the server that will create a token array of these arguments.

THe Client folder contains a program to test the Connect, Disconnect RPC's. You can easily extend this. Hopefully by reviewing the code, you will see what can be done to adapt it to your needs.

You will need to pass command line arguments to both processes . The first command line argument is serverIP. The second is port. For instance ./client 127.0.0.1 8081 or ./server 127.0.0.1

I will be refining this in the future, but this should be a good place to start

cpsc5042clientserver's People

Contributors

mckeemseattleu avatar

Watchers

James Cloos 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.