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! 

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to