1. Home
  2. Computing & Technology
  3. Delphi Programming

Where to Locate the Missing TServerSocket and TClientSocket Delphi components
No TServerSocket in Delphi 2007 (2006) ?! No wait, they're here - just "hidden".

By Zarko Gajic, About.com

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 TClientSocket

The TServerSocket and TClientSocket components are a part of the "dclsockets100" package library.

Here are the steps needed to have them under component palette:

  1. From the Delphi IDE menu select Component - Install Packages,
  2. Click Add, in the Install Packages dialog,
  3. 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.
  4. Click Ok. You're done.

TServerSocket and TClientSocket are listed listed in the Internet category of the Tool Palette.

» Where to Find Glyphs and Icons for a Delphi Application, Menu, Toolbar
« Set TRichEdit Print Margins Programmatically

More Delphi Programming Quick Tips
Zarko Gajic
Guide since 1998

Zarko Gajic
Delphi Programming Guide

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. Delphi 2008 Tips
  7. Where to Locate the Missing TServerSocket and TClientSocket Delphi components

©2009 About.com, a part of The New York Times Company.

All rights reserved.