If you have installed a newer Delphi version and you have a legacy application using the TServerSocket and TClientSocket components - you would face a problem! Delphi socket components are no longer installed into the component palette by design - therefore you will not be able to compile your project.
Luckily, the Package with the components is here, you only need to locate it and add to the IDE.
Locating and Installing TServerSocket and TClientSocketThe TServerSocket and TClientSocket components are a part of the "dclsockets100" package library.
Here are the steps needed to have them under component palette:
- 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. You're done.
TServerSocket and TClientSocket are listed listed in the Internet category of the Tool Palette.