The web is basically operational using HTTP requests and responses. In this mechanism, the client always initiates the connection. There is a timeout period after which the server discards the connection. Once discarded, the client must initiate a new connection. This is OK with normal web applications, but for real-time communication, this is not enough. A system called HTTP-long polling was…
WebSockets are gaining traction as more browsers, including those for mobile devices, support them. This article introduces WebSockets briefly and creates a chat app using a Websockets component for Delphi, a Windows Program Development, provided by Delphi component provider…