Helo,
My program uses TSmtpCli and I receive this exception time to time:
Error in function WSACancelAsyncRequest - Invalid Argument.
How to avoid this error ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
--
To unsubscribe
I must do something special ? How i
can ensure what connection is 100% closed and component 100% ready for next
session ?
I NOT use Application-ProcessMessages inside SmtpCli events.
Please help... And excuse me for bad english.
---
With best regards, Max Terentiev.
Business Software Products
OnSessionClose event is triggered
(OnRequestDone NOT triggered in this case).
So, to start new sessuion I must use OnSessionClose in case of Smtp protocol
error/Abort and OnRequestDone in case of successfull sending (no Abort) ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS
OnSessionClose event is triggered
(OnRequestDone NOT triggered in this case).
So, to start new sessuion I must use OnSessionClose in case of Smtp protocol
error/Abort and OnRequestDone in case of successfull sending (no Abort) ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS
OnSessionClose ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original Message -
From: Wilfried Mestdagh [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Sunday, July 30, 2006 12:19 PM
Subject: Re: [twsocket] Best
Hello Francois,
I don't use Application-ProcessMessages in entire application.
If event OnSessionClose may trigger (or may not trigger)
twice maybe these checks should be implemented inside SmtpCli component ?
Because it's looks like a serious bug.
---
With best regards, Max Terentiev.
Business
try to dig code of cource... But it's may to dificult to find random
bug
in these large library :-)
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: Max Terentiev [EMAIL PROTECTED
, Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original Message -
From: Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Sunday, July 30, 2006 8:47 PM
Subject: Re: [twsocket] Best event to start new Smtp session
Helo Wilfred !
You should first check the state of the component before posting the
message. If not ready then OnRequestdone will be fired again when
component is ready.
YES, it's helps !!! You should insert these check inside SmtpCli component !
Because without this check it's works buggy !
is proper way to cancel Connect() by timeout ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website
attempts !
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original Message -
From: Francois Piette [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Wednesday, August 02, 2006 1:27 PM
Subject: Re: [twsocket
Helo,
I try to use SmtpCli-CtrlSocket-CloseDelayed instead SmtpCli-Abort().
It's works much much better ! No more 10004 errors after cancelling timed
out
connections !
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
[EMAIL PROTECTED]
- Original
Hi,
Does TSslSmtpCli supports non-blocking mode ?
I ask because TSslSmtpCli = class(TSyncSmtpCli)
So, it's should works only in Sync (blocking) mode ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your
Hi,
It's possible to use multiple TSmtpCli inside single TThread ?
For example, I want to handle 100 connections using 5 TThreads.
Each TThread should contain 20 TStmpCli's.
Is it's possible ?
I must use T(ssl)SmtpCli or TSYNCSmtpCli ?
---
With best regards, Max Terentiev.
Business Software
Use TSslSmtpCli and call the async methods. Your threads must
also implement a message pump or simply call the ICS, built-in,
message pump instead (TSslSmtpCli.CtrlSocket.MessageLoop).
But how to implement message pump if I create many TSmtpCli
inside TThread ?
I must implement loop like
Hi,
It's possible to use TPing component in async mode ?
Or I must use TPing inside threads to pinging large amount of IP adresses ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings for TWSocket
.
It's possible ?
Thanx for help !
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website
Hi,
I'm not an expert with BCB. If Delphi can call BCB compiled functions,
linking the obj files produced by BCB, then it is theoretically possible
to modify ICS-SSL to replace dynamyc linking by static linking.
Delphi should call bcb compiled functions. For example, ICS contains
some
be sure what after aborting timeouted query I will not receive
OnRequestDone for aborted query while starting new one.
Thanx for help !
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings for TWSocket
regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
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
Do not reconnect directly from an event handler, but post
a custom window message and from the message handler set
properties as needed and reconnect.
But if I understand correctly CloseDelayed already use PostMessage
and window handler to terminate connection.
So, if I will use CloseDelayed
at FReadCount := FReadCount + Result; line.
My app use TSmtpCli in async mode and PingThread by
Angus Robertson. IDE = BCB6.
I never notice this problem with ICS v5.
Maybe I must update some my code to avoid problems with V6 ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS
this problem only
after upgrading to ICS v6.
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
- Original Message -
From: Max Terentiev maxterent...@mail.ru
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, October 13, 2009 12:56
start of receiving data up to AV).
You can watch it here:
http://www.bspdev.ru/Icsbugnew/Icsbugnew.html
It's should help ICS authors to fix the bug !
I probably can't fix it myself because it's requires very deep ICS
knowledge.
---
With best regards, Max Terentiev.
Business Software Products.
AMS
call
Result := DoRecv(Buffer, BufferSize, 0);
Self address changed to another (6C69614D)! And FReadCount variable now
undefined = AV !
You can see it in video in my previous message.
Looks like it's some problems with WSocket classes inheritance...
---
With best regards, Max Terentiev.
Business
Hi Arno,
Yes, it's helps ! But I will perform some heavy tests for sure...
Thanx for the fix !!!
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
- Original Message -
From: Arno Garrels arno.garr...@gmx.de
To: ICS support
Hi Arno,
I think all Move() calls in ICS code should be checked...
Bugs maybe not only in this place
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
- Original Message -
From: Arno Garrels arno.garr...@gmx.de
To: ICS
Hi,
How to determine preferred (top priority) MX server
after calling TDNSQuery-MXLookup ?
Thanx for help !
--
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
Hi,
What a differences between ICS v6 and v7 ?
I see what ICS v6 is discontinued and thinking about migration to
v7. But what exactly is v7 better ?
What changes in my application code must be done to use ICS v7 instead
v6 ?
I use BCB 2007 and TWSocket, TPop3Cli, TSmtpCli,
, etc) !
But it's will produce many problems in async mode !
So, how I can repaint App interface and respond to user
actions ? Where to call Process Messages ?
Or maybe I forgot to set some important TWSocket property ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS
with single TStmpCli if message body is large.
I use TSmtpCli (NOT sync version).
It's some bug ? Or feature ? :-)
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
Hi Arno,
If that happens with a fast network connection (LAN) then it's a normal
behavior in
main, GUI thread since paint messages have less priority than messages
actually
posted to the message queue.
Yes, it's happens on fast 1 GB Lan and very light and fast smtp server on
second PC.
No
question
Max Terentiev wrote:
Hi Arno,
If that happens with a fast network connection (LAN) then it's a
normal behavior in main, GUI thread since paint messages have less
priority than messages actually posted to the message queue.
Yes, it's happens on fast 1 GB Lan and very light
TThread is enough ?
Or I see this problem because I use very fast channel for testing (1 GB) ?
Or it's probably my fault/bad threads design ?
p.s. ICS v6, BCB2007.
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change
!
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Max Terentiev
Sent: Friday, December 17, 2010 1:32 AM
To: 'ICS support mailing'
Subject: [twsocket] Many TWSockets per TThread problem
Hi,
I try to use many instances of TWSocket
Hi,
Does ICS v6-v7 support IPv6 ?
Can't find any info about it at overbyte.be
Thanx !
--
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
Hi,
It's possible to send mail with TSmtpCli using Http(s) proxy ?
Often users of my app go to internet via lan http proxy without
Socks protocol support. So, I must add this feature...
I read something about http proxy tunneling. This feature already
implemented in TSmtpCli/TWSocket ? Or I
Hi,
My app uses TSmtpCli for sending messages.
Does ICS contain any function or components for adding DomainKeys or DKIM
signature in to headers of my messages ?
Thanx for help !
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
Of Arno Garrels
Sent: Friday, March 30, 2012 8:50 PM
To: ICS support mailing
Subject: Re: [twsocket] DomainKeys/DKIM signature
Max Terentiev wrote:
Hi,
My app uses TSmtpCli for sending messages.
Does ICS contain any function or components for adding DomainKeys or
DKIM
; { AG
}
SetLength(Result, MaxCol); HERE IS LINE 2045
Any suggestions to fix this problem ?
Many thanks !
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings
MANY SPACEs with 80-90 spaces.
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website
be replaced with
if (Buf[cPos] = ' ') and (lPosRes MaxCol) and ShortSpace then begin
I also check latest ICS V8 code and this problem is NOT fixed here !
So, you should apply this fix to both V7 and V8.
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp
(s).
At this time I try to use 25 TSmtpCli per Thread but see very high CPU usage
and app interface
responding this delays..
Maybe 25 per thread is not optimal ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
mailto:supp...@bspdev.com supp
DataNext/WSocket.SendStr/OnDataSent calls instead of 1600 !
My question is: why message data send line-by-line instead of larger
portions ? Because it's violate some another Smtp protocol rules ?
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp
difference.
Right now I playing with enlarging send buffer... With 900 bytes
length I see about 300% of speed increase (from 200 megabytes/sec
to 600 megabytes/sec).
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
-Original Message
TIcsWndControl hidden window. Error 1158
How I can use 4-5K of TSmtpClis in my app ?
P.s: ICS v7, C++Builder 2007 with all updates, my app uses
FastMM and FastCode.
Thanx for help !
---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
46 matches
Mail list logo