Aldur 0 Newbie Poster

Hi everyone,
I have recently started learning Delphi, and use Delphi 2005, I am following a tutorial on making a client server application, however it says this is the code i need to use in the on connect event on my TCP/IP Client Object, however i get an undeclared identifier 'TCustomWinSocket' error and this prevents it from running the relevant code follows does anyone have any suggestions? many thanks!

procedure TForm1.tcpClientConnect(Sender: TObject;
Socket: TCustomWinSocket);
begin
lblStatus.caption := 'Connected!';
cmdConnect.enabled = false;
cmdDisconnect.enabled = true;
end;

-Aldur