diff options
author | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-05-06 14:28:59 +0200 |
---|---|---|
committer | Franciszek Malinka <franciszek.malinka@gmail.com> | 2021-05-06 14:28:59 +0200 |
commit | f0bd9763ea4be22f0f235c0f3aa6628944a56c7e (patch) | |
tree | c12c047b441bdc520740643e549bd90624601fe8 /Semestr 4/sieci/pracownia2/franciszek_malinka/config.h | |
parent | f31c5fa59ee3afafc66bfb53c159eff301b537af (diff) |
Aktualizacja
Diffstat (limited to 'Semestr 4/sieci/pracownia2/franciszek_malinka/config.h')
-rw-r--r-- | Semestr 4/sieci/pracownia2/franciszek_malinka/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Semestr 4/sieci/pracownia2/franciszek_malinka/config.h b/Semestr 4/sieci/pracownia2/franciszek_malinka/config.h new file mode 100644 index 0000000..ee4eac0 --- /dev/null +++ b/Semestr 4/sieci/pracownia2/franciszek_malinka/config.h @@ -0,0 +1,15 @@ +#ifndef CONFIG_H +#define CONFIG_H + +#define SERVER_PORT 54321 +#define TURN_LEN_S 20 + +#define INFINITY_DIST 16 +#define REACHABILITY_WAIT_TIME 3 + +#define DV_DATAGRAM_LEN 9 + +#define TURN_LEN_MS (1000 * TURN_LEN_S) +#define TURN_LEN_US (1000000 * TURN_LEN_S) + +#endif |