954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Client Server Applications

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

Aldur
Newbie Poster
1 post since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You