add comment in WebSocketServer::makeBroadcastServer

This commit is contained in:
Benjamin Sergeant 2021-01-28 21:04:18 -08:00
parent 22c3a7264e
commit 39cc0ed32f

View File

@ -188,6 +188,7 @@ namespace ix
{ {
client->send(msg->str, msg->binary); client->send(msg->str, msg->binary);
// Make sure the OS send buffer is flushed before moving on
do do
{ {
size_t bufferedAmount = client->bufferedAmount(); size_t bufferedAmount = client->bufferedAmount();