Recent Changes - Search:

HomePage

Menu

Site Map

Assignment2Spring2017

Lectures.Assignment2Spring2017 History

Hide minor edits - Show changes to output

Added lines 1-10:
[+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: "Hello Client 1." to client 2: "Hello Client 2."
** Client 2 has information about random integer between 0 - 10.
** Client 1 repeats to send a message (including random integer between 0 - 10) to the server and the server sends the received message to client 2.
** If the random integer of client 1 is not equal to client 2, client 2 sends a "fail" message to client 1.
** If the random integer of client 1 is equal to client 2, client 2 sends a "success" message to the server.
** If the server has received the success message, client 1 terminates the connection.
History - Print - Recent Changes - Search
Page last modified on March 30, 2017, at 11:14 AM EST