replace uint8_t with uint64_t for the send/close requests types / use named variable to index into the _fildes array

This commit is contained in:
Benjamin Sergeant
2019-03-14 15:03:57 -07:00
parent 9d245add9c
commit b5e7fb20b6
4 changed files with 25 additions and 17 deletions

View File

@@ -76,8 +76,8 @@ namespace ix
static void cleanup(); // Required on Windows to cleanup WinSocket
// Used as special codes for pipe communication
static const uint8_t kSendRequest;
static const uint8_t kCloseRequest;
static const uint64_t kSendRequest;
static const uint64_t kCloseRequest;
protected:
void closeSocket(int fd);