How do I make TCP server-client communication in Delphi FMX

To create a TCP server-client communication in Delphi FMX, you can use the TIdTCPServer and TIdTCPClient components from the IdTCPServer and IdTCPClient units.

Here is an example of how you can use these components to create a simple TCP server and client in Delphi FMX;

In this example, the TCP server listens on port 12345 and prints received data to a TMemo component. The client sends data to the server and receives a response when the user clicks a button.


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *