Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Jun : Help with TTcpClient

www.cryer.info
Managed Newsgroup Archive

Help with TTcpClient

Subject:Help with TTcpClient
Posted by:"Dolf van den Berg" (do..@nology.co.za)
Date:Tue, 26 Jun 2007 15:16:45

Hi all

I am writing a small app to chnage ISP user name and pasword on a ADSL
Router. I am using TTcpClient to do this. I am suceeding with the change of
info.

if ADSL5200G.WaitForData(500) = true then
    Begin
     Sleep(700);
     ADSL5200G.Sendln(commandString + #13,#0);
     Sleep(700);
     Memo1.Lines.Add(ADSL5200G.Receiveln(#13));
//     Memo1.Lines.Add(ADSL5200G.Receiveln(#10));
    End;

I use the above code to write the info that I recive from the modem in a
Memo. The problem is that I am not reciving all the info that the router is
sending me.

Can someone please help me

Dolf

Replies:

www.cryer.info
Managed Newsgroup Archive