int -> ssize_t for socker recv and send

This commit is contained in:
Benjamin Sergeant
2019-01-05 20:53:50 -08:00
parent 9641c8cf49
commit 0fd06bb592
9 changed files with 32 additions and 29 deletions

View File

@ -60,7 +60,7 @@ namespace ix
uint16_t code;
std::string reason;
WebSocketCloseInfo(uint64_t c = 0,
WebSocketCloseInfo(uint16_t c = 0,
const std::string& r = std::string())
: code(c)
, reason(r)