|
A Simple Server Before we turn our attention to the Color Belot program, we need to learn the Java mechanisms that support communications between a server and a client. In today's lesson, you should read and understand the code necessary to support a simple server. The simple server allows any number of clients to connect to it. When a client sends the server a message, the server broadcasts the message to all of the clients it is currently serving, including the client that sent the message. In tomorrow's lesson, you will learn about the client that the server supports. |