You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,3 +19,24 @@ Each agent periodically, every specified time period, synchronizes its cunter va
19
19
20
20
The controller
21
21
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 <portnumer> – specifies a UDP port number, at which the server application works.
30
+
• -file <filename> – 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 <portnumer> – specifies a UDP port number, at which the server application works.
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