After receiving tcp data through node server end
Want to be displayed on a web page
If tcp data is pushed to the front end (socket.io used)?
If you want back-end push, WebSocket is a good way. In node, ws or socket.io is recommended. In addition, the foreground timing can also be considered to pull the data.