CMSC 242 -- Lab 4

Lab 4

Getting Started

Log onto a computer science server making sure to change the port number.

Follow these instructions to get your files ready to start lab.
  • Use wget to download the file at http://cs.longwood.edu/courses/cmsc242/s19/files/libsocket.tgz
  • Uncompress the libsocket.tgz file by using tar -xvzf libsocket.tgz

The Problem

  1. write a README
  2. write a chat server
  3. write a chat client

Implementation

  • Your server should handle public messages and private direct messages
  • Your server should be able to return a list of active users
  • Your server should not allow duplicate names

Handin

If you have changed file names or directory names you will need to change to the directory which contains the directory you wish to hand in. We will use the handin cmsc242 assignment directory command. In this case you will type: handin cmsc242 lab4 your_directory_name

You lab is due at 11:59pm Apr. 29nt 2019.