feat: adding packet handling to server

This commit is contained in:
Andrew Rioux
2023-09-04 19:10:43 -04:00
parent fb43a27ba3
commit 1e5f515a25
7 changed files with 112 additions and 29 deletions

View File

@@ -20,7 +20,8 @@ pub mod messages {
OpenTTY,
CloseTTY(u64),
SendRawData(Vec<u64>, u64),
SendTTYData(u64, Vec<u8>),
SendTTYSignal(u64, u64),
StartUploadFile(PathBuf, u64),
SendFileSegment(u64, u64, Vec<u64>),
@@ -69,7 +70,7 @@ pub mod messages {
OpenedTTY(u64),
ClosedTTY(u64),
SendRawData(Vec<u64>, u64),
SendTTYData(u64, Vec<u64>),
UploadFileID(u64),
UploadFileStatus(u64, Result<(), Vec<u64>>),