make a class hierarchy for server code (IXWebSocketServer <- IXSocketServer)

This commit is contained in:
Benjamin Sergeant
2019-01-06 12:01:33 -08:00
parent a5026849a3
commit 57c22cddb8
6 changed files with 296 additions and 216 deletions

View File

@ -237,7 +237,7 @@ namespace ix
status = SSLRead(_sslContext, buf, nbyte, &processed);
if (processed > 0)
return (int) processed;
return (ssize_t) processed;
// The connection was reset, inform the caller that this
// Socket should close