6 Aug 2006 10:39:06 +0100
> From: "Jerry Mallett" <[EMAIL PROTECTED]>
> Subject: Telnet, Indy9
> To: <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>       reply-type=original
> 
> And the quest goes on..................
> 
> I've spent the weekend trying to workout how to capture data from a port
> using everything I can think off.
> 
> I surfed the net for hours looking for answers and everything 
> tells me that 
> the code below should
> work........I've tryed Delphi Sockets, Indy Sockets and the Indy Telnet 
> component and nothing.
> 
> 
> 
> procedure TForm1.Button1Click(Sender: TObject);
> begin
>   with IndyClient do begin
>   Host := '192.168.1.2'; // Host to call
>   Port := 4001; // Port to call the server on
>   Connect; Try
>         ListBox1.Items.Add(Readln);
>     //End;
>   finally Disconnect; end;
> end;
> 
> Can anyone out there help.
> 
> This is getting on my last nerve.....HELP! 
> 

Use the Telnet events. It is that simple
Mick
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to