diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-09-25 13:11:59 -0400 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-09-25 13:11:59 -0400 |
commit | 150ff61c978b7ae381d1a71953c92bf4dd5c3571 (patch) | |
tree | f24a4cf4ebbf312ca15bbd04d77386c8d2ea1329 /protocol.h | |
parent | 0e34f9ce017d0a9afc2b2354854a0e76019a86ec (diff) |
big refactoring code. some issues with udp stream now, though. will need to fix up
Diffstat (limited to 'protocol.h')
-rw-r--r-- | protocol.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ #include <stdint.h> // Provides uint8_t, int8_t, etc. +#define HELLO 0 +#define SETSTATION 1 +#define WELCOME 2 +#define ANNOUNCE 3 +#define INVALID 4 + +#define LISTSTATIONS 5 +#define STATIONINFO 6 + + // client to server messages (commands) struct Hello { |