If you have installed a newer Delphi version and you have a legacy application using the TServerSocket and TClientSocket components you might not be able to use them. Delphi socket components are no longer installed into the component palette by design. Therefore you will not be able to compile your project.
The package, with the components, needs to be manually located and added to the IDE.
The TServerSocket and TClientSocket components are a part of the "dclsockets" package library.
Here are the steps needed to have them under component palette:
TServerSocket and TClientSocket are listed in the Internet category of the Tool Palette.