Understanding Angular 4 Websockets
Jun 05,2017 | Posted by : Michelle Esposito
TCP/IP is connected and remains open to allow data to be sent back and forth independently at any time. It’s binary and as a result you get much higher density and better performance. There is less overhead with this protocol so there’s lower latencies and higher bandwidth. You get full duplex conversations.
The reason that you want to drop down from HTTP and into the websockets world is to take advantage of the lower latency, higher throughput bandwidth and the ability to send and receive audio or image data.
Learn what else is possible with websockets and more in Angular 4 by taking one of our courses led by expert instructors.