can accept multiple connection / server can send data back to client

This commit is contained in:
Benjamin Sergeant
2018-12-30 21:16:05 -08:00
parent a39209a895
commit a6a43bd361
3 changed files with 33 additions and 14 deletions

View File

@ -444,6 +444,7 @@ namespace ix
return WebSocketInitResult(false, 0, std::string("Failed sending response to ") + dest);
}
setReadyState(OPEN);
std::cout << "initFromSocket::end" << std::endl;
return WebSocketInitResult(true, 200, "", headers);