ixwebsocketserver::broadcast server to return a boolean to know whether the server could start/listen, and use that in ws

This commit is contained in:
Benjamin Sergeant
2021-03-19 11:52:41 -07:00
parent 7fee54464e
commit 88970604e3
3 changed files with 12 additions and 6 deletions

View File

@ -48,7 +48,7 @@ namespace ix
std::set<std::shared_ptr<WebSocket>> getClients();
void makeBroadcastServer();
int listenAndStart();
bool listenAndStart();
const static int kDefaultHandShakeTimeoutSecs;