Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Telnet error

www.cryer.info
Managed Newsgroup Archive

Re: Telnet error

Subject:Re: Telnet error
Posted by:"Ferenc Nemeth" (ferenc.neme..@interticket.hu)
Date:Thu, 29 Jun 2006 10:06:00

I made the next modification to debug:

         if Response.Count > 0 then begin
         try
           try
             AThread.Connection.WriteRFCStrings(Response);
           except
             on E: exception do
               AddLog(e.Message);
           end;
         finally
           AddLog('In finally - 1');
         end;
         end else if CommandHandler.Response.Count > 0 then begin
         try
           try
             AThread.Connection.WriteRFCStrings(CommandHandler.Response);
           except
             on E: exception do
               AddLog(e.Message);
           end;
         finally
           AddLog('In finally - 2');
         end;
         end;

The error log contains:

Connection Closed Gracefully.
In finally - 1


Feri

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive