Client Source
Server Source
Homework Assignment
- Write an applet, called ChatClient, to allow communication
with the ChatServer you will write next. This program should
allow any number of individuals to connect and communicate
with each other. Each message you type should be broadcast to
each other client involved in the chat session. Your server
should send messages indicating the name of a new chatter and
should print each message preceeded by the name of the person
who sent it.
- Write a stand alone application called ChatServer that runs
on some host within the ICS network and accepts connections from
your ChatServer.
- Try using the last 4 digits of your student ID for your
client/server port number, but if this is the same as another in
the class, try another random integer for your port number.
- Hint: check out package net, io, util