1

What is an alternative to TServerSocket and TClientSocket (like in Delphi 7), in Delphi 2010? I'm really not sure what to use, since this is what I would like to do:

For server side:

ServerSocket1.Port := 23;

For client side:

ClientSocket1.Port :=  23;  
ClientSocket1.Host :=  'xxx.xxx.xxx.xxx';

What will a alternative be for this in Delphi 2010?

3
  • 1
    The first Google hit on 'TServerSocket' is this About.com article. Commented Jun 14, 2011 at 21:58
  • You might also be interested in another such article. Commented Jun 14, 2011 at 21:59
  • hides face. Damn, sorry. I searched, but couldn't find anything relevant. Guess I used the wrong phrase. Thanks :) Commented Jun 14, 2011 at 22:00

2 Answers 2

6

Apparently TSocketServer and TClientSocket ship with Delphi, but they just hide it:

  • From the Delphi IDE menu select Component - Install Packages,
  • Click Add, in the Install Packages dialog,
  • In the Add Design Package dialog, browse to your "RAD Studio\5.0\bin" folder (for Delphi 2007) and select dclsockets100.bpl, then click Open.
  • Click OK.

i would never have guessed that BorlandImpriseCodeGearEmbarcadero put them on the DVD.

Sign up to request clarification or add additional context in comments.

Comments

4

Recommended alternatives include Indy, ICS, Synapse, RealThinSDK, and just about any other socket library for Delphi.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.