Skip to content

A basic implementation of the traditional client-server model. First assignment of the networking subject from CS degree at University of Lleida.

Notifications You must be signed in to change notification settings

aleixsegura/client-server-model

Repository files navigation

Usage

1 - Open one terminal for the server and as many terminals as desired clients on a Linux machine.

2 - Start the server:

    $ ./server [ -d ] [ -c <server.cfg> ] [ -u <equips.dat> ]                

3 - Start a client:

    $ ./client [ -d ] [ -c <clientX.cfg> ] [ -f <bootX.cfg> ]    

Server commands:

    - list: displays information about the clients.    
    - quit: finalizes the server.    

Client commands:

    - send-cfg: sends the configuration file to the server.    
    - get-cfg: gets the configuration file from the server.    
    - quit: finalizes the client.    

Flags:

-d: open with debug mode.
-c: change default configuration files.
-u: change default allowed machines.
-f: change default network file.

About

A basic implementation of the traditional client-server model. First assignment of the networking subject from CS degree at University of Lleida.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published