Using .Net TCPClient to send and recieve data.

Hello,

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.
soozhAsked:
Who is Participating?
 
Kamran ArshadIT AssociateCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.