Skip to content

The goal of this project is to gain a fundamental understanding of the interactions between clients and servers via TCP.

License

Notifications You must be signed in to change notification settings

kevin-funderburg/TCP-client-server-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Client/Server Project

Author: Kevin Funderburg

About

The goal of this project is to gain a fundamental understanding of the interactions between clients and servers via TCP. This is shown through development of a school database system, where clients can make requests to a server, the server then processes the requests and returns the results.

Usage

Make commands

make - compile and create executables
make clean - reset executables and object files

Once compiled, begin the server with ./server then the client with ./client.

The client will then show:

What would you like to do? (enter h for help) :

At this point you can follow the commands as listed below.

Command line structure:

[adasdeh] [a add] [da delete_all] [s showscores] [d delete] [e exit] [h help]

a add
    adds a student to the database with the following parameters:
    [student ID] [First Name] [Last Name] [Grade]
da display_all
    display all student data in database
s showscores
    show all students with a grade higher than [grade]
d delete
    delete a student from data base with student ID = [student ID]
e exit
    exit the application
h help
    outputs usage listing

Examples

a 291892 Francois Butter 86
da
showscores 75
delete 748393

Licensing & Thanks

This project is released under the MIT License.

Changelog

  • v1.0.0

About

The goal of this project is to gain a fundamental understanding of the interactions between clients and servers via TCP.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published