Time Server (Delphi)

Overview

This is a very basic sample illustrating how to use the Indy-based TROBroadcastServer and TROBroadcastChannel components to take advantage of UDP broadcast messaging.

Getting Started

  • Compile and launch the server.
  • Compile and run the client.
  • Click the GetTime button and see the answer received from the server.

Examine the Code

Both client and server projects are quite simple and present a basic Remoting SDK workflow. The only difference from other projects is that due to the UDP broadcasting, no target URL or host name needs to be configured on the client side, only the proper port number is required.

Concepts Covered