Re: [twsocket] Very slow attachment after then last ver. of ICS

2006-11-02 Thread Arno Garrels
you want ? Are there any which email-testprogram can do ? > (But not the messagelines because this content even the lines from > the attached file.) Mvh Ilkka You need to find out which command takes that long, use mailsnd demo and the left group of buttons to check it out. Upon which command (befo

[twsocket] Why is this list so slow?

2006-11-02 Thread Arno Garrels
Hello, Since two or three days mails posted to elist.org take one and a half hour until I receive them back. That's no fun :( --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Large amount of OnDataAvailable calls

2006-11-02 Thread Arno Garrels
to accept the client connection } NewS := self.Accept; if not assigned(asoc) then begin { And then associate this connection with our client socket } asoc :=TAnswerSocket.Create(callback, OnClose); asoc.Dup(news); end else WSocket_closesocket(NewS); // we are busy en

Re: [twsocket] Very slow attachment after then last ver. of ICS

2006-11-02 Thread Arno Garrels
ly as fast as Outlook Express as well. So I think the problem is neither ICS nor your mail-server but something else. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Ilkka Ericsson wrote: > Hej ! > I let the messagememo write a loggfile. (I didn´t know hove t

Re: [twsocket] Why is this list so slow?

2006-11-03 Thread Arno Garrels
Francois PIETTE wrote: >> Since two or three days mails posted to elist.org take one >> and a half hour until I receive them back. That's no fun :( > > No idea. I haven't noticed a particular slow down. Would you please send me your headers of your reply to my initial mail, because in my headers

Re: [twsocket] Why is this list so slow?

2006-11-03 Thread Arno Garrels
cess at elist.org. The delay started with 30 minutes or so and grew to current 2 hours. Is there anybody not having this problem? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > --- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Large amount of OnDataAvailable calls

2006-11-03 Thread Arno Garrels
ith your problem, it just sprang to my mind that there's a problem in your code. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Greetings > > Markus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.eli

Re: [twsocket] Why is this list so slow?

2006-11-09 Thread Arno Garrels
worthy, subject "EBay API SOAP Calls (SSL)" was sent on 7 Nov 2006 15:00:56 -0800 received here 09 Nov 2006 07:42:57 -. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] EBay API SOAP Calls (SSL)

2006-11-09 Thread Arno Garrels
ponents: HTTP c/s, FTP c/s, SMTP c, NNTP c, and of course TSslTWsocket. http://www.overbyte.be/eng/ssl.html. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > web service calls by > creating your own SOAP XML? > > I saw an ICS example was available f

Re: [twsocket] Receive() returns -1

2006-11-09 Thread Arno Garrels
not read any data back. If that happens in TWSocket's OnDataAvailable event it means that the connection was closed, just ignore it, OnSessionClosed will be triggered later on. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > Because OnDataReceived() keep

Re: [twsocket] Receive() returns -1

2006-11-09 Thread Arno Garrels
Arno Garrels wrote: > Jack wrote: >> Hello all, >> >> I have a TCP socket client. In some cases, OnDataReceived() > > There's no such event in ICS named OnDataReceived. > >> gets fired for multiple times with ErrCode = 0, but when I call >>

Re: [twsocket] EBay API SOAP Calls (SSL)

2006-11-09 Thread Arno Garrels
make a post connection check which was able to uncover man in the middle attacks. ICS-SSL is well supported in the [EMAIL PROTECTED] mailing list. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list pleas

Re: [twsocket] Socket not sending SYN ACK - Help?

2006-11-09 Thread Arno Garrels
d not send RST ACK, but ACK. > > Here my application has seen a client connection and disconnection. Sounds reasonable, I guess that the problem is on the client side. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for

Re: [twsocket] Receive() returns -1

2006-11-10 Thread Arno Garrels
ilable > when Receive returns <= 0. That's very true! Jack reported a freeze, so it might have been usefull to know the Winsock error number, eventhough not any error is a real error :-) --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or c

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread Arno Garrels
ers in order to keep the line length within the range of maximum suggested length, that is only 75 characters. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Jody Bowman wrote: > Greetings, > > I'm an engineer from the Milwaukee, Wis

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread Arno Garrels
k to break existing code. I think so, given that TMimeDec handles folded header lines as well, but AFAIR that is supported since many years, right? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > -- > Contribute to the SSL Effort. Visit > http://www.overbyte

Re: [twsocket] SmtpClient problem on disconnect

2006-11-17 Thread Arno Garrels
s to close the connection, so if a server doesn't close the connection on receiving command QUIT the server is buggy. You can handle those server-side bugs with a simple command timeout, in real applications some a timeout mechanism is required anyway. Arno Garrels > TO: > > pr

Re: [twsocket] Multi-Threaded THttpServer?

2006-11-18 Thread Arno Garrels
nly when the client needs to carry out lengthy jobs like executing a SQL query or calculating a MD5 checksum on a big, uploaded file. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Unfortunately THttpServer doesn't include a "MultiThreaded"

Re: [twsocket] Flow control

2006-11-19 Thread Arno Garrels
a built-in, dynamic send buffer, that's why calling TWSocket.Send always succeeds, real sending is done in the background. The component handles winsock buffer overflows (WSAEWOULDBLOCK)internaly. Use event OnDataSent to control the flow, and to avoid grow of TWSocket's send buffer. -

Re: [twsocket] Flow control

2006-11-19 Thread Arno Garrels
lso, for streaming real time data there are special protocols available: RTP (RFC 1889) and RTCP (RFC 1890). They are used for instance in VOIP/SIP. May be interesting? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSoc

Re: [twsocket] Which TWSocketServer event to capture data sent?

2006-11-21 Thread Arno Garrels
Clay Shannon wrote: >> >> "ESocketException - Error 10048 in function Bind Address already in >> use." Another socket is already listening on the same IP and port. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] Flow control

2006-11-21 Thread Arno Garrels
t to put that in, but I can live happily w/o such a feature. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Procedure for using ThreadAttach/Detach

2006-11-26 Thread Arno Garrels
t <= 0) then GWndHandlerPool.FreeWndHandler(FWndHandler); FHandle := 0; FWndHandler := nil; FThreadID := 0; finally GWndHandlerPool.UnLock; end; end; --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settin

Re: [twsocket] basic e-mail questions

2006-11-27 Thread Arno Garrels
epends on the proxy. > > and: what information do I need to be able to use all three > options depending on availability? (user selects which to use) BTW: It is not possible to detect whether a connection to the internet exists. The user needs to tell you the connection type,

Re: [twsocket] Strange service folder mapping problem for ICS web server

2006-12-06 Thread Arno Garrels
mappings are not available in services by default, it may work if the service runs as currently, interactively logged on user (not 100% sure). --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list ple

Re: [twsocket] Where to put SO_RCVBUF code?

2006-12-06 Thread Arno Garrels
earch for property SocketRcvBufSize. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Arno Garrels
this worked fine in the past, but I have not tested Socks with SSL since a long time, so changes in the SSL code since that time may have broken it, if you say that Socks with SSL doesn't work in current versions I will reactivate my Socks5 box tomorrow to run a test again. --- Arno Garre

Re: [twsocket] TWSocket support for HTTP proxy

2006-12-09 Thread Arno Garrels
happy } > TBaseParentWSocket = TCustomSslWSocket; > {$ELSE} > TBaseParentWSocket = TCustomSocksWSocket; > {$ENDIF} That's totally OK, TCustomSslWSocket is derived from TCustomSocksWSocket. Don't you have the SSL code? --- Arno Garrels [TeamICS] http://www.overbyte

Re: [twsocket] Freeze when using smtp after recreating its parent form

2006-12-11 Thread Arno Garrels
Hello Henrik, Just tested with latest V5 beta, but works great? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Henrik wrote: > Hi! > > I have probably misunderstood something because I get the same > behavior described below no matter which of th

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-11 Thread Arno Garrels
buttons on the left, Connect etc. instead)? How is the CPU load when it freezes? What is different with the two boxes, any Anti Virus software, any personal firewall etc.? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Henrik wrote: > Hi Arno and thank You for

Re: [twsocket] I found some bugs in your ICS (or mine maybe)

2006-12-11 Thread Arno Garrels
ncurrent connections easily, each transferring data at the same time, since it uses non-blocking sockets. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Aleksey Potjomkin wrote: >> Hello ! >> >> Your components are really great. But i've faced

Re: [twsocket] TWSocket Digest, Vol 199, Issue 2

2006-12-11 Thread Arno Garrels
s (non-blocking) nature of ICS read this first: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm You may also have a look at the MailSndAsync demo of V5, it's SMTP but the same principle applies to the FTP component. If you have further questions, please post them her

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-12 Thread Arno Garrels
after the other. Then I would search for strange processes in the process list that do not exist on the other, working boxes. That's at least worth a try. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Henrik wrote: > Hello Wilfred! > > Yes, I get the sa

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-12 Thread Arno Garrels
Clay Shannon wrote: >> <> box.>> >> >> It sounds like you have a toilet hooked up to your computer. Not very british I know, in other words, real-time protection software, internet security suites or malicious software, anything like that. --- Arno Garrels [TeamI

Re: [twsocket] TWSocket Digest, Vol 199, Issue 2 (Aleksey Potjomkin)

2006-12-12 Thread Arno Garrels
.FtpRequestDone(Sender: TObject; RqType: TFtpRequest; ErrCode: Word); begin case RqType of ftpOpenAsync : TFtpClient(Sender).UserAsync; .. end; --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte

Re: [twsocket] Service dependency problem re-occurred.

2006-12-13 Thread Arno Garrels
(dwErrorControl). http://msdn.microsoft.com/library/en-us/dllproc/base/createservice.asp?frame=true http://support.microsoft.com/?scid=kb%3Ben-us%3B102987&x=9&y=13 Have you tried a service-depency on RPCSS? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-13 Thread Arno Garrels
ould find the error condition. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
rwise you can only speculate :( --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
Forgot to mention that the XP box below has a Dual-Core Intel CPU, that should by very close to Henrik's Dell box. Arno Garrels wrote: > Wilfried Mestdagh wrote: >> Hello Henrik, >> >> this is frustrating :( > > Welcome to the club. > >> I can do a

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
Wilfried Mestdagh wrote: > Could it be the loading of Winsock dll ? That's obviously true, since it's the only effect I can imagine that the secondary instance could have. Is Winsock still the origin DLL, or has it been replaced by a Virus ;-) ? --- Arno Garrels [

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
x27;s categorized as simple spyware. But I also recall a virus that installed its own (buggy) Winsock DLL. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mail

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
results in keeping a handle to Winsock DLL even though the SMTP-Form is destroyed (same effect as having a second SmtpCli-instance in main form). --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > // Henrik > > > -Ursprungligt meddelande

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
Henrik wrote: > > Sorry if I get a bit aggravated. I really appreciate Your effort > Arno, but > external problems is not the way to go this time. No problem, I just wanted to point onto that possibility. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/

Re: [twsocket] FtpCli

2006-12-17 Thread Arno Garrels
n-foolproved component. Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Arno Garrels
linked to a process with ProcessExplorer: http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx It also may help to see a packet dump logged with Ethereal. >> winsock while ICS uses the non blocking calls. > Is this also true with SyncSmtpCli? Yes. ---

Re: [twsocket] FTPcli proxy server

2006-12-19 Thread Arno Garrels
ng on host named proxyserver. FtpCli1.HostName := 'proxyserver'; FtpCli1.UserName := '[EMAIL PROTECTED]'; FtpCli1.Password := '[EMAIL PROTECTED]'; FtpCli1.Passive := TRUE; == -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-19 Thread Arno Garrels
ture and run the ICS test app. unless the error happens, close the test app., the stop the capture and save the log as Ethereal/tcpdump(*.cap,*.pcap), file format libpcap to a file, upload the log somewhere and post the link here. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.h

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Arno Garrels
TW: Interesting sample: http://www.codeproject.com/internet/DnsHijack.asp Also upload your wxvault.dll for a online check to http://www.virustotal.com/flash/index_en.html and http://www.avira.com/en/support/verdachtige_dateien_und_sonstige_uploads.html --- Arno Garrels [TeamICS] http://www.overbyte.

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Arno Garrels
gt; > Ethereal: > I only get packages sent the first time. The second time the > application > hangs before anything has been sent... > > Best Regards > Henrik > > -Ursprungligt meddelande----- > Från: [EMAIL PROTECTED] [mailto:twsocket- > [EMAIL PROTECTE

[twsocket] Fw: TFtpCli

2006-12-21 Thread Arno Garrels
- Original Message - From: "Äèìà Èãàåâ" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 21, 2006 4:33 PM Subject: TFtpCli > Dear, Arno Garrels. > I need to install a component TFtpCli to handle with FTP via C++ Builder 6. > While

[twsocket] TSmtpCli encoding (was: Freeze when using smtp after recreating itsparentform)

2006-12-22 Thread Arno Garrels
ncQuotedPrintable message text is always encoded. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] TSmtpCli encoding (was: Freeze when using smtpafterrecreating itsparentform)

2006-12-22 Thread Arno Garrels
) garanties what you want. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > And this is done by setting the following properties? > SmtpCli1.Allow8bitChars := false; (if I want the _subject_ encoded) > SmtpCli1.DefaultEncoding := smtpEncQuotedPrint

Re: [twsocket] TSmtpCli encoding (was: Freeze when usingsmtpafterrecreating itsparentform)

2006-12-22 Thread Arno Garrels
cated, especially when headers contain e-mail addresses like TO, FROM etc. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > If you have a GUI-component that can handle WideStrings, then you can > have > any language in the subject using the above form

Re: [twsocket] TSmtpCli encoding (was: Freeze when using smtpafterrecreating itsparentform)

2006-12-23 Thread Arno Garrels
ries and meta-data within each encoded header. I suggest you > search in Google for "smtp message header encoding" or something like > that. > > dZ. Hi dZ, Headers are indeed encoded in latest versions. It's my own, rather old work added to ICS in summer (or so). It w

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-25 Thread Arno Garrels
well. Please search and uninstall this buggy application so we know the application name that does not work with ICS (I'm rather sure it's Embassy Trust Suite). --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your setting

Re: [twsocket] Problem in Java compatibility in HTTP digest auth

2007-01-04 Thread Arno Garrels
is a bug in Java? Yet still, shouldn't we be compatible with > such a widely used language? Wasn't Digest Auth your own contribution? In order to find out who is buggy here the RFCs should give a hint. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html --

Re: [twsocket] Troubles with using TPing in multithreaded apps(DnsLookupDone error)

2007-01-07 Thread Arno Garrels
to make asynchronous events working. That most likely applies to the Ping-component as well, however I'm not quite sure since I've never been using this component. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > ProgMaster > > &g

Re: [twsocket] Troubles with using TPing in multithreadedapps(DnsLookupDone er

2007-01-07 Thread Arno Garrels
pump. I already guessed something similar, so probably running your component in multiple threads isn't required since it already creates worker threads as necessary, right? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your

Re: [twsocket] Fw: Need help with Nov 11 V6 Beta installation under bcb2006

2007-01-10 Thread Arno Garrels
Hello SZ, It compiles fine here, however I'm using the version before support for HTTP-proxy was added to TWSocket. Have you added OverbyteIcsWinsock2.pas to your custom package? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Fastream Technologies

Re: [twsocket] Fw: Need help with Nov 11 V6 Beta installationunderbcb2006

2007-01-11 Thread Arno Garrels
sed a package file attached. You must have a mixed codebase, or files are missing in your package? It's your homework to find the problem, compare with current download, use the SSL package/project file attached. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Arno Garrels
the sync commands rather than advancing to the next command in >>> OnRequestDone - am I right here? >> >> Yes, that's right, you can just run one command after the other, >> possibly with appropriate error checking as well. There's no need to use sync mod

Re: [twsocket] FTPClient Upload/download size incorrect?

2007-01-13 Thread Arno Garrels
ing current beta downloads either V5 or V6? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Arno Garrels
rrect way to abort a failing SMTP > transmission. What do you mean by "failing SMTP transmission"? Most error responses from a mail server should/can be handled diffently. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > Michael > > > Arno Garre

Re: [twsocket] Need a simple SMTP example

2007-01-13 Thread Arno Garrels
Dod wrote: > Hello bevan, > > Is it text file or binary file ? > > If text file be sure to set binary mode, In SMTP?? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html if not all #13#10 may be > converted into #10 if destination is U

Re: [twsocket] FTPClient Upload/download size incorrect?

2007-01-13 Thread Arno Garrels
? In order transfer data in binary mode you must set property BinaryMode to TRUE as well as call the TypeSet command to send the transfer type to the server. Same when switching back to ascii except property BinaryMode must be set to FALSE before. --- Arno Garrels [TeamICS] http://www.over

Re: [twsocket] Still problems while sending SMTP

2007-01-15 Thread Arno Garrels
BTW: The mail server is responsible to close the connection after he has sent out the OK-reply to the Quit request, however it should not hurt when a client closes the connection after receiving the Quit-response. BTW-2: Do not forget to implement your own timeout mechanism. --- Arno Garrels [TeamICS] ht

Re: [twsocket] Still problems while sending SMTP

2007-01-16 Thread Arno Garrels
ile executing the mailing. So in the ButtonClick handler there the call to start the mailing should be the very last line. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Kochendoerfer, Michael wrote: > You all are giving excellent information in this mailing

Re: [twsocket] Throughput problem with TWSocket over a "long line"

2007-01-16 Thread Arno Garrels
d, it will the call setsockopt() internally. I think that 1 MB is much too big, since this memory is allocated from kernel memory which is not an endless resource. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html What is your opinion about > that? > > /

Re: [twsocket] Throughput problem with TWSocket over a "long line"

2007-01-16 Thread Arno Garrels
Arno Garrels wrote: > Tobias Rapp wrote: > >> http://support.microsoft.com/default.aspx?scid=kb;en-us;823764 > > By default winsock's send buffer size is 8 kb which is much bigger > than TFtpCli's constant BLOCK_SIZE of 1460 bytes. So one condition > described

Re: [twsocket] Throughput problem with TWSocket over a "long line"

2007-01-16 Thread Arno Garrels
Tobias Rapp wrote: > Hello Arno, > >>> By default winsock's send buffer size is 8 kb which is much bigger >>> than TFtpCli's constant BLOCK_SIZE of 1460 bytes. So one condition >>> described in the article is not true since a single send call in >>> TFtpCli does not fill the whole underlying winso

Re: [twsocket] Still problems while sending SMTP

2007-01-17 Thread Arno Garrels
li.Connect; end; --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Michael Kochendoerfer wrote: > Arno and all, > > I realized and appreciated your hint to perform it all event-driven > and I tried to accomplish it the way you suggested. However, I have &

Re: [twsocket] Still problems while sending SMTP

2007-01-17 Thread Arno Garrels
g for a response or while it's sending data will cause OnRequestDone being triggered with an error code > 0, this was AFAIR (10053) Software caused connection abort. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > Michael > >> -Original

Re: [twsocket] Still problems while sending SMTP

2007-01-17 Thread Arno Garrels
e. Post your message from OnSessionClosed only if State = smtpReady, and post your message from OnRequestDone if property Connected is False. It's a long time ago since I've been working with SMTP so I'm not sure if this will work reliable, it's untested. --- Arno Garrels [T

[twsocket] 10054 Connection reset by peer while sending data TSmtpCli

2007-01-22 Thread Arno Garrels
ok 20.12.06 13:39:11 > DATA 20.12.06 13:39:11 < 354 Enter mail, end with "." on a line by itself 20.12.06 13:39:26 Session closed **Error 10054! Mailbox full, data recognized as SPAM, virus detected? Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing lis

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-25 Thread Arno Garrels
was hoping that you helped identifying the Embassy Trust Suite clearly as the culprid. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Henrik wrote: > Hi Arno and others! > > Some of the heavy work load I experienced a while ago has decreased a > bit so I

Re: [twsocket] Exception handling in a Form

2007-01-25 Thread Arno Garrels
You probably hit the wrong button. Your mail is addressed to me privately. Arno Wilfried Mestdagh wrote: > Hello Veit, > > Normally the components handles their own exception by design (as it > should be). Be sure you have no exceptions in events. If there is a > chance that your code can raise

Re: [twsocket] Exception handling in a Form

2007-01-25 Thread Arno Garrels
Arno Garrels wrote: > You probably hit the wrong button. > Your mail is addressed to me privately. Perfect chaos, sorry. Please ignore this mail. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Arno > > Wilfried Mestdagh wrote: >> Hel

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-26 Thread Arno Garrels
correctly thus causing errors when ICS loads winsock DLLs dynamically. If you think that's just a joke I cannot help you, but please stop claiming that ICS was buggy. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for T

Re: [twsocket] Exception handling in a Form

2007-01-26 Thread Arno Garrels
Ahh, thanks :) BTW: Do you know the greatest hooking library available? If not, take a look add MadCodeHook it's for Delphi, BCB as well as C. GREAT COMPONENT from the autor of Madexcept. Arno Wilfried Mestdagh wrote: > Hello Veit, > > Connect as whell as other methods can raise exceptions in

Re: [twsocket] Crash (hang) under heavy load after 1 hour problem forserver service

2007-01-27 Thread Arno Garrels
t > prevents task manager from killing a process?? (He logs in with admin > account on Windows 2000 Advanced Server SP4) See above. Download ProcessExplorer @ http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx It kills everything ;-) Check the threads in

Re: [twsocket] Crash (hang) under heavy load after 1 hour problemforserver service

2007-01-27 Thread Arno Garrels
y error report for this--it has > an option for "freeze". I've no idea, I'm using the great MadExcept, however it won't raise an exception if some thread waits infinitely, that's something you need to debug, in other words try to reproduce the problem. --- Ar

Re: [twsocket] Crash (hang) under heavy load after 1hourproblemforserver service

2007-01-27 Thread Arno Garrels
Fastream Technologies wrote: > The problem is when I try here on my Win XP/Vista's it does not occur. > Something specific to client's server I guess. Using threads can be very exiting ;-) > Is there a way to see > which line number did it got stuck without installing the compiler > there? Cur

Re: [twsocket] Crash (hang) under heavy loadafter1hourproblemforserver service

2007-01-28 Thread Arno Garrels
blem then something related to the hang. What happens when they try to stop the service from the service control panel? If the service cannot be stopped probably the service thread hangs. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Best Regards, > >

Re: [twsocket] MailSndAsynch Question (newbie)

2007-01-28 Thread Arno Garrels
pAuthAutoSelect" note the missing "h". --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > If I comment out lines 407 & 408, it compiles and runs but then I get > the following output in the memo: > > Resolving host nam

Re: [twsocket] How does a paused socket determine disconnection?

2007-01-29 Thread Arno Garrels
turn an internal error so that the component should trigger SessionClosed. Someone please correct me if that's wrong (never tested). --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Best Regards, > > SZ -- To unsubscribe or change your settings for

Re: [twsocket] streaming video client/server application

2007-01-31 Thread Arno Garrels
> handle. > > 65535 is it the maximum for upd datagram ? I think yes but just to be > sure. Winsock fragmentation will probably prevent receiving such large packets in a single Receive-call, data will probably be fragmented into MTU fragments (AFAIR?). --- Arno Garrels [T

Re: [twsocket] THttpMTServer problem with Dup

2007-02-01 Thread Arno Garrels
FHSocket := INVALID_SOCKET; if iStatus <> 0 then begin SocketError('Dup (closesocket)'); Exit; end; ChangeState(wsClosed); end; FHsocket := NewHSocket; .. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.h

Re: [twsocket] THttpMTServer problem with Dup

2007-02-01 Thread Arno Garrels
ient disconnects as well as handle all possible exceptions inside the threads, including component exceptions. It may help if you use a TThreadList instead of current TList, at least it's easier to code thread-safe. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] THttpMTServer problem with Dup

2007-02-01 Thread Arno Garrels
te; If you do this from multiple threads it may happen this: if not Thread.Terminated then // thread switch occures and another // thread calls Terminate so // Terminated is now TRUE!! Thread.Terminate; --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/t

Re: [twsocket] streaming video client/server application

2007-02-01 Thread Arno Garrels
er way ? I think it is OK, but propably you need to pause receiving when receiving is much faster than decoding to prevent infinite grow of your buffers. Also the message queue queues only a limited number of messages, if it is full SendMessage()/PostMessage() will fail. --- Arno Garrels [Tea

Re: [twsocket] streaming video client/server application

2007-02-01 Thread Arno Garrels
Arno Garrels wrote: > Jonathan Dumaresq wrote: >>> I would say before sending anything. >> >> good >> >> this is working now. thanx for your help everybody. >> >> I have another question. When I receive the data from the udp port, i >> have

Re: [twsocket] streaming video client/server application

2007-02-01 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello Arno, > >> propably you need to pause receiving when receiving >> is much faster than decoding to prevent infinite grow of your >> buffers. > > The problem is UDP. When winsock buffer is full UDP packets are trown > away. Maybe no problem ? Ahh, missed that, so

Re: [twsocket] THttpMTServer problem with Dup

2007-02-02 Thread Arno Garrels
source code line where the exception happend. Good luck, Arno Garrels > Best Regards, > > SZ > > ----- Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Thursday, February 01, 2007 6:42 P

Re: [twsocket] THttpMTServer problem with Dup

2007-02-02 Thread Arno Garrels
Fastream Technologies wrote: > MadExcept did not help. :(( Yes, if the exception is handled by HandleBackGroundException() MadExcept would not catch it. But temporarily commenting Try, Except up to End in a few WndProc procedures will make it work. --- Arno Garrels [TeamICS] h

Re: [twsocket] [request] smtpprot: make X-Mailer a property

2007-02-04 Thread Arno Garrels
omp(Msg, 'X-Mailer:', 9) = 0 then StrCopy(Msg, PChar('X-Mailer: MyMailer - www.mymailer.de')); end; --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > best regards, retnyg -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] [request] smtpprot: make X-Mailer a property

2007-02-04 Thread Arno Garrels
e it harder to change? A property won't hurt, but I can also very well live with the copy-solution in OnHeaderLine. A SMTP client is a string-hell anyway so a few string comparisons more or less don't matter. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-05 Thread Arno Garrels
read. When I > raised WHG_MAX to 800, the exception disappears. Francois, could you > raise the constant? This is probably because you post custom messages do you? --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSock

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-05 Thread Arno Garrels
ad message } begin Any message that was posted to this thread goes here. In this case you may even PostThreadMessages with message numbers in the range of ICS messages. end else Not a thread message, receiver is a window --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/ove

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-05 Thread Arno Garrels
d WM_REMOVEBUTTON = WM_APP + 8; // VirtualShellToolbar WM_CHANGENOTIFY_CUSTOM = WM_APP + 9; WM_UPDATESCROLLBAR = WM_APP + 10; WM_VETBASE = WM_APP + 100 and more.. So be carefull and find the sender!! --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > F

Re: [twsocket] Possible bug and solution in TWndControl

2007-02-05 Thread Arno Garrels
GWndHandlerMsgLow := WM_APP + 100; I hope this helps. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > Regards, > > SZ > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailin

  1   2   3   4   5   6   7   8   9   10   >