Please support our Pascal and Delphi advertiser: Programming Forums
![]() |
•
•
Join Date: Sep 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
![]() |
Similar Threads
Other Threads in the Pascal and Delphi Forum
- Porbs in Client-Server (Java)
- Client-server messenger (Java)
- URGENT: FTP Client / Server using RMI (Java)
- client server communication problem in CSocket program (C)
- Problem with Client-Server Socket Connection (Java)
- Simple Client Server Instant Messaging Java code using UDP datagrams (Java)
- java client server quiz. interesting!!! (Java)
- Client-server vs RMI using Java (Java)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: TChart - [Fatal Error] File not found: TeeConst.pas
- Next Thread: Loop stopping short
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode