Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • Last Modified:

Using .Net TCPClient to send and recieve data.


I need an example of how to use the .Net TCPClient class to send a message in Delphi.

Perferably the code should use the "new" keyword rather then .Create method so that I can compile it in Delphi Prism.

There are plenty of VB/C# examples out there, and I can probably convert one, but I am not sure how to allocate memory/variables for the message to be sent and its response.
1 Solution
Kamran ArshadCommented:

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now