Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : TIDTCPClient.
| Subject: | TIDTCPClient. |
| Posted by: | "Roberto Colpani" (roberto.colpa..@vetrariafratellicolpani.it) |
| Date: | Fri, 14 Mar 2008 00:17:30 |
I'm try to text a my new idea of a program. I have writte a server with a
TIDCMDTCPServer and the client with a TIDTCPClient. I have a button with
this code:
IdTCPClient1.Connect;
Result := IdTCPClient1.SendCmd('RegisterUser; AUser AComputerName');
Memo1.Lines.Add(IDTCPClient1.IOHandler.ReadLn);
IDTCPClient1.Disconnect;
When i reClick the button I have an error that tell me the IDTCPClient is
already connected;
Why?