From 51247ec41133e04e0b0ee04cbf2e290ff26be03d Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 25 Apr 2022 19:09:12 -0500 Subject: I give up Signed-off-by: Matt Strapp --- include/comms.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/comms.hpp') diff --git a/include/comms.hpp b/include/comms.hpp index 1b2a942..4db1807 100644 --- a/include/comms.hpp +++ b/include/comms.hpp @@ -1,3 +1,6 @@ +// Author Name: Matt Strapp +// Date: 25 April 2022 +// x500: strap012 #ifndef COMM_UTIL_H #define COMM_UTIL_H #include "util.hpp" @@ -8,7 +11,7 @@ struct CONN_STAT { // in struct timeb lastTime; // Last time this connection was used (used to detect // s2c closure) - bool recInitHeader; // False until initial header is recieved + bool recInitHeader; // False until initial header is received bool expectingHeader; // The message to be read is a header (irrelevent for // senders) enum LinkType linkType; // MESSAGE_LINK (persistent) or FILE_LINK (one off) @@ -20,7 +23,7 @@ struct CONN_STAT { // len --> 0) bool changeDirection; // Flag to change the direction of the connection once // the current communication finishes - bool shouldClose; // Flag to destroy this connection + bool shouldClose; // Flag to destroy this connection }; int Send_NonBlocking(int sockFD, BYTE *data, struct CONN_STAT *pStat, -- cgit v1.2.3