Skip to content

rasmusjs/DATA2410-1-23V-Datanettverk-og-skytjenester-lab02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network-lab02

Lab assignment: 2

Abstract

The main goal of this lab assignment is to ensure that you do have the necessary socket programming skills in order to solve the obligatory assignment and exams.

  1. Task

    The main focus of the mandatory assignment is to build and test a multi-threaded server. You will implement:

    • a server that can simultaneously handle multiple clients.

    • a client that will connect to the server.

    1. Server

      A server should keep track of the total number of clients, allow clients to send messages and broadcast everyone. Below are some key functions you must implement:

    2. Client

      A client must:

      • connect to the server

      • receive broadcast message from a server

      • send a message to the server for broadcast

      • request to play a game with another client

  2. Submission

This is a Group assignment. I’ve already created groups for you (click people and then click lab-assignment to see the groups in canvas). Please choose your own group members (maximum: 5 members per group).

  1. Submit group-name.zip. Your zip file should include server.py and client.py).

  2. document all the variables and definitions.

  3. document the following for each function:

    1https://en.wikipedia.org/wiki/Rock_paper_scissors

    • what the function does.

    • what input and output parameters mean and how they are used.

    • what the function returns.

    • how you handle exceptions.

Deadline: 21.02.2023, kl 23.59

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages