“Inverted” Request/Response example built with the Indy sockets library

Full source code included: this project demonstrates how both sides in a client/server application can initiate request/response style communication. For the sake of simplicity, both the client and the server part are placed in the same VCL form application. Client side Server side Implementation notes For client and server, there is both a "Send request" … Continue reading “Inverted” Request/Response example built with the Indy sockets library

Habari STOMP Client libraries release 2023.08

Habarisoft released new versions of its native STOMP client libraries for Delphi / Object Pascal for integration with popular open source message brokers: Habari STOMP Client for ActiveMQ 8.3 - tested with Apache ActiveMQ 5.18.2 Habari STOMP Client for Artemis 8.3 - tested with Apache ActiveMQ Artemis 2.30.0 Habari STOMP Client for OpenMQ 8.3 - … Continue reading Habari STOMP Client libraries release 2023.08

ScroogeXHTML for Object Pascal 8.4 released

ScroogeXHTML for Object Pascal is a library which supports a subset of the Rich Text Format (RTF) standard. It converts RTF to HTML5 and XHTML stand-alone documents, or to fragments which can be embedded in other documents. The library is compatible with Delphi 2009+ and Free Pascal 3.2.0. The 8.4 release fixes some minor issues. … Continue reading ScroogeXHTML for Object Pascal 8.4 released

Habari STOMP Client libraries release 2023.06

Habarisoft released new versions of its native STOMP client libraries for Delphi / Object Pascal for integration with popular open source message brokers: Habari STOMP Client for ActiveMQ 8.2 - tested with Apache ActiveMQ 5.18.0 Habari STOMP Client for Artemis 8.2 - tested with Apache ActiveMQ Artemis 2.28.0 Habari STOMP Client for OpenMQ 8.2 - … Continue reading Habari STOMP Client libraries release 2023.06

ScroogeXHTML for Object Pascal 8.3 released

ScroogeXHTML for Object Pascal is a library which supports a subset of the Rich Text Format (RTF) standard. It converts RTF to HTML5 and XHTML stand-alone documents, or to fragments which can be embedded in other documents. The library is compatible with Delphi 2009+ and Free Pascal 3.2.0. The 8.3 release adds basic Linux platform … Continue reading ScroogeXHTML for Object Pascal 8.3 released

How to: read a snowman ☃ – terminated text from a TCP socket in Delphi and Free Pascal

Full source code now available on GitHub. Covering Internet Direct (Indy), Ararat Synapse, and Synapse SynCrtSock. This is the second part in a series which explores basic TCP socket use cases and presents them in minimal examples. For this part, I selected an unusual string terminator byte sequence. The Unicode Character “☃” (U+2603), named Snowman, … Continue reading How to: read a snowman ☃ – terminated text from a TCP socket in Delphi and Free Pascal

How to: read a fixed number of bytes from a TCP socket in Delphi and Free Pascal

Full source code now available on GitHub. Covering Internet Direct (Indy), Ararat Synapse, and Synapse SynCrtSock. This is the first part in a series which explores basic TCP socket use cases and presents them in minimal examples, with useful comments regarding not-so-obvious requirements and pitfalls (a.k.a surprising results). The clients are tested with a small … Continue reading How to: read a fixed number of bytes from a TCP socket in Delphi and Free Pascal

How to: Server-Sent Events with Indy HTTP Server (part 3)

In this part, the server application uses the Indy HTTP server uses SSE to continuously send events to the JavaScript EventSource. Part 3: the demo application, now streaming Ingredient #1: the HTML page with JavaScript The script has not changed, it reads two data items from the ping event: a time stamp in ISO 8601 … Continue reading How to: Server-Sent Events with Indy HTTP Server (part 3)