How can i send data from server to all client?

Viewed 25

I want to send a message to the directly connected client from the server side. Whether the client is null or not, if the server is open, I want to keep sending data through the websocket. Assuming that data from 1 to 1000 are scattered for 1000 seconds Server open time is 10 seconds When a client connects, 10 11 12,,,, can see it like this. What should I do?

I want to know the function that the server sends independently without the client's request. For example, real-time search terms or cctv i need some example code to understand

0 Answers
Related