Francois PIETTE wrote:
1) Command Open succeeds.
2) After the server received command User it closes the connection
(FIN/ACK).
3) OnSessionClosed triggers with ErrCode 0.
4) OnRequestDone triggers with ErrCode 0 and the status code from
previous request.
Would you agree that is a bug?
MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
- Original Message -
From: Arno Garrels arno.garr...@gmx.de
To: ICS support mailing twsocket@elists.org
Sent: Saturday, February 12, 2011 10:41 AM
Subject: Re: [twsocket] TFtpCli strange logic
Subject: Re: [twsocket] TFtpCli strange logic
Francois PIETTE wrote:
1) Command Open succeeds.
2) After the server received command User it closes the connection
(FIN/ACK).
3) OnSessionClosed triggers with ErrCode 0.
4) OnRequestDone triggers with ErrCode 0 and the status code from
previous
GetWinsockOrProxyErrorStr(ErrCode); // == New function, not
related to this fix
I would name this function GetErrorMsgFromErrorCode since it is a
general translation from an error number to a message.
IMO, from the name it should be clear what range of error numbers
are expected to be
Hi,
1) Command Open succeeds.
2) After the server received command User it closes the connection (FIN/ACK).
3) OnSessionClosed triggers with ErrCode 0.
4) OnRequestDone triggers with ErrCode 0 and the status code from previous
request.
Would you agree that is a bug?
--
Arno Garrels
--
To