- Lecture: Broadcaster Servers and Chat Servers.
- Lab: Study broadcaster.java.
Adapt it in the same way that you adapted the echoServer last week.
- Adapt it so that it allows exactly two clients to chat.
- Adapt it so it allow arbitrarily many pairs of clients to chat.
(answer - chatServer.java).
- Think about how to add a username and let the client choose who to chat to. Implement it (non-compulsory
exercise).
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
s.danicic@gold.ac.uk
Sebastian Danicic BSc MSc PhD (Reader in Computer Science)
Dept of Computing, Goldsmiths, University of London, London SE14 6NW
Last updated 2015-09-04