# WebSocketTry **Repository Path**: hongwing/WebSocketTry ## Basic Information - **Project Name**: WebSocketTry - **Description**: Try WebSocket To Get Data Instantly From Server - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ##
WebSocketTry
websocketgif
### #1 Try WebSocket To Get Data Instantly From Server This repo built because of A **question** > How to update a datatable instantly, real-time ? Well, I got a solution that We can use **Ajax Polling Data**, But I mean, It's not instant actually and near real-time So another way to get it done is **websocket** ### #2 ``` server: websocket-server client: client to connect websocket-server /** 1 */ cd server && npm install && node index.js /** 2 */ cd client/ct && npm install && npm start Now, See. ```