Recent Changes - Search:

HomePage

Menu

Site Map

Assignment4Spring2016

Lectures.Assignment4Spring2016 History

Hide minor edits - Show changes to output

Changed line 8 from:
** If random integer of client 1 is equal to client 2, client 2 sends a success message to the server.
to:
** If the random integer of client 1 is equal to client 2, client 2 sends a success message to the server.
Added line 1:
[+Socket programming+]
Changed line 3 from:
** Make a server and at least three clients
to:
** Make a server and two clients
Changed lines 6-8 from:
** 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.
to:
** Client 2 has information about random integer between 0 - 50.
** Client 1 repeats to send a
message (including random integer between 0 - 50) to the server and the server sends the received message to client 2.
** If 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
.
Added lines 1-7:
* 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.
History - Print - Recent Changes - Search
Page last modified on April 05, 2016, at 11:26 PM EST