frame

websocket write problem

when I use websocket, I found that the data can't write out right away. In the test, I start a timer(10Hz) to call mg_send_websocket_frame to send binary data, but the explorer can't receive the data in time. Is there any way to send the binary data at once?

The server side is linux on arm. Mongoose version is 6.4, the latest version.

Now the application need a time-precise sending and receiving. I use the timer to simulate it, but the data isn't real-time transferred. I ever wrote a funtion directly used the socket, but failed because some flags in the mongoose_poll is unset.