Hi
Many thanks for all the replies. This is a really great mailing list
I am using application.processmessages because I need to connect to several
different sockets as follows
for i := 1 to CustScreenCount do begin
while sckCustScreen.State wsclosed do
- Original Message -
From: Arno Garrels arno.garr...@gmx.de
To: ICS support mailing twsocket@elists.org
Sent: Monday, December 07, 2009 7:43 PM
Subject: Re: [twsocket] error with Ftp over TLS
Hi Arno, thank you ofr your response.
Strange, was it possible to post a common FTP log as
Hi,
while sckCustScreen.State wsclosed do
Application.ProcessMessages;
No, use the State property only for displaying states, not to take action.
Also it is not a wise idea to put your application in a loop. Use OnClose
event of the socket. It will fire when it is close; in the
Svemu - Reparto Sviluppo wrote:
With method ReceiveAsync the component doesn't try to
establish a secure data channel/connection. However some server
may require it, just a guess (haven't read your attached log yet).
If so, do not use method ReceiveAsync but the low level methods
instead.
- Original Message -
From: Arno Garrels arno.garr...@gmx.de
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, December 08, 2009 12:38 PM
Subject: Re: [twsocket] error with Ftp over TLS
The log entries of data socket seem ok and the file should have
been received, correct?
Svemu - Reparto Sviluppo wrote:
The log entries of data socket seem ok and the file should have
been received, correct?
yes is true.
Afterwards the server actually doesn't perform the bidirectional
SSL shutdown correctly but drops the line:
18.09.16.265 033FABF0 Winsock recv( 748,
Hi Angus (and all who have helped)
I have created an array of (50) Twsockets. I then choose a new one each
time I need to connect as you suggested.
It works perfectly. I don't need the timer anymore and have removed the
application.processmessages.
Everything seems perfect. I need to give it
- Original Message -
From: Arno Garrels arno.garr...@gmx.de
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, December 08, 2009 1:10 PM
Subject: Re: [twsocket] error with Ftp over TLS
Svemu - Reparto Sviluppo wrote:
The log entries of data socket seem ok and the file
Svemu - Reparto Sviluppo wrote:
Pure-FTPd [TLS]
(if you want, i can give you an account...)
Yes please.
please send me your email address at chmod700 !at! hotmail.it (!at!
is for prevent spam)
My email address is included in this email header, no need to send
it to you, anyway CCed.
--
However the multi-line 226 response looks strange to me:
18.09.16.171 ! Data Session Connected (Get)
[..]
18.09.16.203 |150 Accepted data connection|
[..]
18.09.16.218 |226-Options: -a |
[..]
18.09.16.218 |226 246 matches total|
Normal flow would look like this:
18.09.16.171 ! Data
- Original Message -
From: Arno Garrels arno.garr...@gmx.de
To: ICS support mailing twsocket@elists.org; daniele barbato
chmod...@hotmail.it
Sent: Tuesday, December 08, 2009 4:53 PM
Subject: Re: [twsocket] error with Ftp over TLS
However the multi-line 226 response looks strange to
Looks like you started to grasp async programming. Very good !
Don't forget you have to free the TWSocket at some time.
I think you still need a single TTimer to handle timeout. Think about what
will happend if you start a connection successfully and then have a server
not answering at all, but
Hello!
I'm writing multithreaded VCL application with following structure:
- one thread holding a number of sockets receiving data
- one server thread to provide remote control
- one main TApplication thread, of course
All actions with sockets are done within their owner thread.
All inter-thread
Hello Chris,
I've wrote simple descendant of TWSocket which implements timeout stuff
internally, I could send you the unit if you are interested
--
Anton
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
ADV_MT enabled (i.e., NO_ADV_MT defined)
I mean, ADV_MT disabled (i.e., NO_ADV_MT defined)
--
Anton
--
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
15 matches
Mail list logo