Skip to content

Commit e980e29

Browse files
authored
Update README.md
1 parent 32aa511 commit e980e29

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,24 @@ Each agent periodically, every specified time period, synchronizes its cunter va
1919

2020
The controller
2121
An additional application is used as a controller of the network of agents. Using it, one can read or change the value of the counter or the synchronization period of each agent separately. The application as its first parameter acepts the the IP address of an agent.
22+
23+
------
24+
25+
The third Client/Server represents UDP transaction with additional options to save reliability of this protocol.
26+
The client is a process, which sends the data. It accepts the following parameters at
27+
runtime (in any order):
28+
• -server <address> – specifies an address, at which the server application works.
29+
• -port <port numer> – specifies a UDP port number, at which the server application works.
30+
• -file <file name> – a the name of a file for transmission.
31+
32+
During tranfer, the client prints out the following information about the transmission:
33+
• te number of delivered bytes and the number of bytes left,
34+
• current average speed computed from the beginning of the transfer,
35+
• current average speed computed during recent 10s,
36+
• current average speed computed during recent 1s r information about data transfer errors, if they appear.
37+
38+
The server’s goal is to accept a connection from a client and to receive a file delivered by this client. At execution, the server accepts the following parameters (in any order):
39+
• -port <port numer> – specifies a UDP port number, at which the server application works.
40+
• -speed <initial speed>–initialdatatransferspeedexpressedinKB/s(1KB=1024B).
41+
42+
During work, the sever may read from the keyboard a new data transfer speed value (in KB/s). If such value is read, the server sends it to the client, which is obliged to adjust to the new value. Such changes can be done at any moment and many times during the transfer.

0 commit comments

Comments
 (0)