Skip to content

StellaHolbrook/CPSC5042ClientServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%