HomePage
Menu
Site Map
|
Socket programming
- Make a socket program based on the following description:
- Make a server and two clients
- The server sends a hello message to clients when the clients connect to the server.
- (ex.) to client 1: "Hellow Client 1." to client 2: "Hellow Client 2."
- Two clients send a different message to the server and the server sends the received message to another client.
- (ex.) client 1 sends "A" to server and then sever sends "A" to client 2, and vice versa.
- The server makes files for two received messages from clients.
- One client terminates the connection then the server notifies it to another client with message.
|