[twsocket] SMTPProt.pas
I think there is a wakness/bug in the smtpprot.pas: procedure TCustomSmtpClient.RcptTo; begin if FRcptName.Count = 0 then raise SmtpException.Create('RcptName list is empty'); FItemCount := -1; RcptToNex When this exception is raised, I cant catch it anywhere. No bgexception, no requestdone. I added try/except in this procedure (all the code in this procedure inside the try): procedure TCustomSmtpClient.DoHighLevelAsync; like this: except {Bjørnar} on E:Exception do {Bjørnar} HandleBackGroundException(E); {Bjørnar} end;{Bjørnar} then I was able to catch it and shut down and release the smtp-component. Any comments on this change? Regards Bjørnar No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.5/1356 - Release Date: 02.04.2008 16:14 -- 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
[twsocket] small but pertinent doubt
Hello, I developed an application in C++ Builder, based on the example TcpSrv. It works very well, for a single client. Im now trying to use several clients, looking to the documentation, ICS has 2 examples: MtSrv and TnSrv, they booth say that this should be used for a real world server. My question (doubt) is: what is more suitable to use? Thank in advance João -- 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