Hello Twsocket,

I   use  the  latest  ICS v7 distributive. The problem happens on [not
my]  WinXP  system  with slow DSL connection. I cannot
reproduce  it on other PCs, so I gave that user a special version that
writes  logs  to  file.  The  problem  is as follows: when the file is
completely uploaded to FTP server, the program sometimes "hangs" until
ftp.AbortAsync  is  called manually. Here is the final part of the log
in normal situation:

================================================
...
15:13:38:799 DataSocketPutDataSent 32768
15:13:39:429 019559D8 TriggerDataSent 804
15:13:39:430 DataSocketPutDataSent 31535
15:13:39:912 019559D8 TriggerDataSent 804
15:13:39:912 DataSocketPutDataSent 0
15:13:39:912 019559D8 TCustomWSocket.Shutdown 1 804
15:13:40:057 ! Data Session closed
15:13:40:057 ! Next3PutAsync
15:13:40:058 019559D8 TCustomWSocket.Shutdown 1 804
15:13:40:061 >|226 Transfer complete|

15:13:40:061 ! Next3PutAsync
15:13:40:061 ! HighLevelAsync 0
15:13:40:061 ! HighLevelAsync done
15:13:40:084 019551B4 TriggerDataSent 832
15:13:40:227 >|221 Goodbye.|

15:13:40:227 019551B4 TCustomWSocket.Shutdown 1 832
================================================

And here is the log when the hanging occurs:

================================================
...
01:25:54:968 DataSocketPutDataSent 32768
01:25:55:765 00C45A34 TriggerDataSent 796
01:25:55:765 DataSocketPutDataSent 20016
01:25:56:281 00C45A34 TriggerDataSent 796
01:25:56:281 DataSocketPutDataSent 0
01:25:56:281 00C45A34 TCustomWSocket.Shutdown 1 796
01:25:56:453 ! Data Session closed
01:25:56:453 ! Next3PutAsync
01:25:56:453 00C45A34 TCustomWSocket.Shutdown 1 796

!!!  The  file  is completely uploaded. Here the program hangs and the
!!!  user aborts the transfer:

01:30:05:062 ! Aborting
01:30:05:062 ! HighLevelAsync 0
01:30:05:062 ! Abort detected
01:30:05:062 ! HighLevelAsync done
01:30:05:093 ! Aborting
================================================

So, the difference is that on the problematic PC the line

15:13:40:061 >|226 Transfer complete|

is  not  always received or processed properly. What is the reason and
how to fix this?

PS: when the user runs the same program with ICS v5 component, it
works on that problematic computer ALWAYS ok, i.e. it never hangs.















================================================











-- 
Best regards,
 Antol                          mailto:spama...@mail.ru

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to