September 2018
Intermediate to advanced
412 pages
11h 12m
English
WebSocket cloud connectivity is another option to consider for IoT applications and solves some of the issues with MQTT. WebSockets is designed to be complementary to HTTP, yet it is closer to TCP and lean—it only uses 2-6 bytes of headers for data transmission. WebSocket leverages the existing HTTP infrastructures such as servers, proxies, and security headers for authentications/authorizations. WebSocket is a bi-directional, full duplex, and low-level communication protocol that runs on top of TCP. A WebSocket starts off as a standard HTTP connection but then gets upgraded to a WebSocket connection to create a persistent TCP connection with the server using a single socket. WebSocket is part of the HTML5 standard. ...