Implementing a #websocket Server with Node.js
▻https://hackernoon.com/implementing-a-websocket-server-with-node-js-d9b78ec5ffa8?source=rss----
Implementing a WebSocket server with Node.jsIn this article, we’ll see how to implement a WebSocket server using Node.js.Before we jump right in — if you are not familiar with WebSockets as a transport #protocol, here’s a brilliant article that you should read. You can take your learning a bit further with another great article about long polling.I’ll be using Node.js for this (version 10.7 is installed on my machine at the time of this article).Your server may be running Go, .NET, Java, or something else. The implementation in each of those environments will vary depending upon the HTTPserver libraries available.The actual concepts will be fairly consistent though. They all follow the same standard specifications for interpreting and constructing HTTP requests and responses, and for parsing and (...)