HomePage
Menu
Site Map
|
Socket programming
- Make a socket program based on the following description:
- Make a server and at least three clients
- The server sends a hello message to clients when the clients connect to the server.
- (ex.) to client 1: "Hello Client 1." to client 2: "Hello Client 2."
- All clients send a message (including information about destination) to the server and the server sends the received message to client as destination.
- (ex.) client 1 sends "c3: (any text)" to server and then server sends "(any text)" to client 3.
- One client terminates the connection then the server notifies it to another clients with message.
|