Re: [twsocket] IPv6 branch updated with latest changes from trunk Rev. #631

2010-11-22 Thread Arno Garrels
the THttpServer object and step into the various calls to inherited create, there's obviously something wrong on your side. Also try to build the C++ Builder demo group project, all demos should build. Run the webserver and HttpTst demo both should run just fine. -- Arno Garrels -- To unsubscribe or change

Re: [twsocket] IPv6 branch updated with latest changes from trunk Rev. #631

2010-11-22 Thread Arno Garrels
== httpsrv = new THttpServer(NULL); delete httpsrv; } (works for me) Start stepping into (F7) and I bet you'll notice some crazy jump somewhere :) -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] HttpServer - PostMessage in a service/Cmd apps.

2010-11-11 Thread Arno Garrels
; WriteLn('Press Enter to exit'); ReadLn; except on E: Exception do begin WriteLn(E.ClassName + ' ' + E.Message); WriteLn('Press Enter to exit'); ReadLn; end; end; end. {code} -- Arno Garrels -- To unsubscribe or change

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Arno Garrels
imposed by the design. I do not think so. -- Arno Garrels -- 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

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Arno Garrels
, means the hidden ICS window(s) has been created in the same thread context. -- Arno Garrels -- 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

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Arno Garrels
Fastream Technologies wrote: On Thu, Nov 11, 2010 at 12:16 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: So it's getting better but it uses less than 20% CPU overall (only 1 of 4 cores is utilized) and our ICS-based process uses only 10% in task manager! What

Re: [twsocket] Installing ICS within C++ Builder 2006

2010-11-11 Thread Arno Garrels
installs fine with BCB. In order to install ICS into both personalities you just have to change the Delphi package options to: Linking | Linker output | Generate all C++ Builder files (including package libs) and rebuild all. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] Installing ICS within C++ Builder 2006

2010-11-11 Thread Arno Garrels
Arno Garrels wrote: Tobias Rapp wrote: Hello, I have ICS package installed within the Delphi personality of BDS2006 but now I want to use it within the C++ Builder personality. After adding some missing *.pas files to IcsBcb100.bdsproj BDS complains: Remove WSocketE, WSockBuf, WSocket

Re: [twsocket] Installing ICS within C++ Builder 2006

2010-11-11 Thread Arno Garrels
to avoid such confusions? I use .htaccess on Apache for the purpose. This question goes to Francois, we, the wiki contributers, don't have access to the overbyte website. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin

Re: [twsocket] HttpServer - PostMessage in a service/Cmd apps.

2010-11-09 Thread Arno Garrels
code in the range 128 to 255, a LParam). would trigger event OnCustomControl. http://www.duodata.de/misc/delphi/DDService.zip -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] Migration from ICS v6 to v7

2010-11-08 Thread Arno Garrels
to v7. But what exactly is v7 better ? See above. What changes in my application code must be done to use ICS v7 instead v6 ? Most likely there are no changes required, just uninstall V6 and install V7. If you run into trouble ask in this list, very unlikely IMO. -- Arno Garrels

Re: [twsocket] Fix for THttpCli

2010-11-05 Thread Arno Garrels
available tomorrow in the zipped daily snapshot. http://wiki.overbyte.be/wiki/index.php/ICS_Download -- Arno Garrels -- 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

Re: [twsocket] onProgress64 update interval

2010-10-27 Thread Arno Garrels
Svemu - Reparto Sviluppo wrote: From: Arno Garrels arno.garr...@gmx.de I already wanted to fix it but very good since I can no longer override the internal TWSocket class I canceled this idea. ops :D Anyway your interval of 100ms is too short. Updating the GUI, especially a ProgressBar

Re: [twsocket] onProgress64 update interval

2010-10-25 Thread Arno Garrels
the internal TWSocket class I canceled this idea. Anyway your interval of 100ms is too short. Updating the GUI, especially a ProgressBar, in such short intervals is a performance killer. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] IPv6 support for ICS web client and server

2010-10-24 Thread Arno Garrels
://www.sixxs.net/. They provide you a static IPv6 subnet after one week membership for free. The easiest way was if your router supports those services, otherwise you have to install additional software. My Fritz Box has built-in support for both 6to4 and SixXS. -- Arno Garrels

Re: [twsocket] IPv6 support for ICS web client and server

2010-10-24 Thread Arno Garrels
Fastream Technologies wrote: I will try to do the test ASAP, most probably on Tuesday. What is the equivalent of 127.0.0.1 in IPv6? Before you start testing IPv6 you should read: http://en.wikipedia.org/wiki/IPv6 IPv6 localhost = ::1 -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] IPv6 support for ICS web client and server

2010-10-24 Thread Arno Garrels
Fastream Technologies wrote: Thanks and one last question: What is the IPv6 equivalent of 0.0.0.0 ? IPv6 unspezified address = :: or ::0. Including ::1 they are the short representations, zeros may be omitted. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] Does ICS have a DNS server component? Or any stable/reliable usermade source for it?

2010-10-24 Thread Arno Garrels
to do with IPv6 testing in the LAN then you do not need a DNS server for that, since Vista the OS resolves host names also with a new Microsoft UDP-based protocol, forgot it's name. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Connection Timeout

2010-10-11 Thread Arno Garrels
to handle persistent connections. -- Arno Garrels -- 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

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Arno Garrels
Signed Source® Project wrote: [DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2003 Undeclared identifier: 'TSslWSocketClient' You have to Build the project, compiling is not enough. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Detecting broken connection and reestablishing

2010-10-07 Thread Arno Garrels
unless an attempt is made to open it for read or write. -- Arno Garrels -- 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

Re: [twsocket] Detecting broken connection and reestablishing

2010-10-07 Thread Arno Garrels
connection can be very useful, even though there is no control over the remote appliance. Agreed (though I have no idea of what you are talking about :), but I guess that's not a common use case of the ICS components, isn't it? -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Arno Garrels
components from TWSocket or from TWSocketClient and override some methods, TriggerDataAvailable and PutDataInSendBuffer should do the trick (untested though). -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Arno Garrels
Signed Source® Project wrote: On 7.10.2010 20:36, Arno Garrels wrote: Signed Source® Project wrote: Hi guys, One more question, Is it possible to encrypt the connection between the client and server? if yes, I would appreciated any help you could provide. Of course it is possible

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Arno Garrels
Arno Garrels wrote: How to override a class is not a ICS-specific question but a Delphi or C++ language question. Sorry for my bad English, should read: How to override methods of a class is not a ICS-specific question but a Delphi or C++ language question. -- Arno Garrels

Re: [twsocket] Detecting broken connection and reestablishing

2010-10-06 Thread Arno Garrels
will fire, and from there start your timer to reconnect. -- Arno Garrels -- 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

Re: [twsocket] SMTP mail queue component?

2010-10-04 Thread Arno Garrels
of TSmtpCli since file attachments might have changed in the meantime. The alternative would have been to copy file attachments to some temporary directory, but that's a mess. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] SMTP mail queue component?

2010-10-03 Thread Arno Garrels
. -- Arno Garrels -- 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

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-28 Thread Arno Garrels
in directory Internet. -- Arno Garrels -- 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

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-25 Thread Arno Garrels
for the listening socket. Clients are created in ServiceThread context. @Andreas The TcpDaemon should be created on service start and freed on service stop and shutdown. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] Using ICS on formless apps (Console and services)

2010-09-25 Thread Arno Garrels
Arno Garrels wrote: Francois PIETTE wrote: See sample OverbyteIcsSvcTcp.dproj. Please check this demo, it is brocken. The listening socket and clients are executed in different threads! TService.Create is executed in main thread context where the TcpDaemon is created which also creates

Re: [twsocket] RFC 2822 date format - Timezone

2010-09-23 Thread Arno Garrels
TDateTime version of RFC-formatted date in Mimeparser? No, I do not think so. -- Arno Garrels -- 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

Re: [twsocket] pop3 and lastresponse

2010-09-20 Thread Arno Garrels
Arno Garrels wrote: Zvone wrote: IMO the component should clear LastResponse on before connect. Maybe it should, but what it does is different story :) I checked in a few changes today, it's rev #600: Log: Pop3Prot V6.08 Moved HMAC-MD5 code to OverbyteIcsMD5.pas. Ensure that var

Re: [twsocket] pop3 and lastresponse

2010-09-19 Thread Arno Garrels
). That was a feature suggestion for a new property LastRequestError and perhaps a new property LastRequestType. Will look at it more closly when I have some more time. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] Experimental throttle ( was pop3 and lastresponse)

2010-09-19 Thread Arno Garrels
Zvone wrote: something, worth to be tested anyway: [...] I'll take a look and test this code soon enough. Thanks. Try the change below instead, otherwise you might get Integer overflow exceptions. It happens that even though the socket is paused the component receives data after it got a

Re: [twsocket] pop3 and lastresponse

2010-09-18 Thread Arno Garrels
); if (FBandwidthCount FBandwidthMaxCount) and (not FBandwidthPaused) then begin FBandwidthPaused := TRUE; Pause; end; end; end; -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

[twsocket] Strange threads in ICS applications in Win7

2010-09-13 Thread Arno Garrels
Hi, FYI: http://stackoverflow.com/questions/2484921/strange-threads-in-application-in-win7-wow64 -- Arno Garrels -- 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

Re: [twsocket] ICS - What Is My IP

2010-09-13 Thread Arno Garrels
own webpage that returns the IP, it's rock science, in PHP it looks like: ?php echo $_SERVER[REMOTE_ADDR]; ? -- Arno Garrels -- 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

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-11 Thread Arno Garrels
RTT wrote: Done. I've now sent you a PM with the .diff file. Thanks. -- Arno Garrels -- 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

Re: [twsocket] Is it possible to download a 1 byte range withTHttpServer..?

2010-09-11 Thread Arno Garrels
Fastream Technologies wrote: Is it possible to download a 1 byte range withTHttpServer..? Yes, try: HttpCli1.ContentRangeBegin := '1'; HttpCli1.ContentRangeEnd := '1'; against Webserv demo. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Is it possible to download a 1 byte rangewithTHttpServer..?

2010-09-11 Thread Arno Garrels
Fastream Technologies wrote: Ok but file ranges start from 0 not 1 so that also must be implemented: HttpCli1.ContentRangeBegin := '0'; HttpCli1.ContentRangeEnd := '0'; It works, why don't you test that yourself? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] GBs of Memory leak which Memproof says is at the line Send(FDocBuf, len)

2010-09-10 Thread Arno Garrels
is set it breaks the loop in method TCustomWSocket.ASyncReceive. -- Arno Garrels -- 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

Re: [twsocket] GBs of Memory leak which Memproof says is at the line Send(FDocBuf, len)

2010-09-10 Thread Arno Garrels
Arno Garrels wrote: Fastream Technologies wrote: Let me elaborate: As our code is a proxy server and data keeps coming down in OnDocData of the Httpclient, I was pumping it to THttpConnection's descendent with Send(buf, len). However I noticed it was actually buffering data when the Send()'s

Re: [twsocket] THttpServer POST

2010-09-10 Thread Arno Garrels
look, set a break point at line Flags = hgAcceptData; and see if it gets hit. -- Arno Garrels -- 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

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread Arno Garrels
Header := Header + GetKeepAliveHdrLines + #13#10; ... Useful as well, probably the parameter should be named CustomHeaders, it's a bit confusing since one has to know which headers are added by the method. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-10 Thread Arno Garrels
RTT wrote: On 10-09-2010 16:43, Arno Garrels wrote: Another thing that would be useful, if added to the code base of the THttpConnection, is the possibility to send additional headers from the THttpConnection.SendDocument, to define cache control, etc.. procedure

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-09 Thread Arno Garrels
Tobias Rapp wrote: Arno Garrels wrote: The DLL names are globally writable typed constants, set their values before the OpenSSL libraries are loaded. Is there any advantage to use writable typed constants like const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; instead of var

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Arno Garrels
Svemu - Reparto Sviluppo wrote: From: Arno Garrels arno.garr...@gmx.de It might be that the application loaded some incompatible OpenSSL libraries unless the full path and filenames are specified. try GSSLEAY_DLL_Name := full path and filename; GLIBEAY_DLL_Name := full path

Re: [twsocket] SSL OnSslVerifyPeer vs. OnSslHandshakeDone event

2010-09-09 Thread Arno Garrels
certificates the server sends. -- Arno Garrels -- 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

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Arno Garrels
Svemu - Reparto Sviluppo wrote: can you send me your compiled demo and dll? Just sent my working binary by private mail. Please let us know how it works. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] THttpServer POST

2010-09-09 Thread Arno Garrels
and prepare or allocate your receive buffer. OnPostedData is the event to Receive() data chunks and check for correct data length etc.. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Arno Garrels
options. The sslV23_XX options include all version methods including TLS v1. In order to disable a version, use SslOptions sslOpt_NO_XXX instead. Thank you for cooperation, You are welcome. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

[twsocket] Experimental built-in throttle and timeout changed again

2010-09-08 Thread Arno Garrels
, enabled/unabled or its interval or event handler were changed frequently. Best performance is achieved by setting this property to TRUE. Files: U trunk/Delphi/Vc32/OverbyteIcsThreadTimer.pas -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] SSL OnSslVerifyPeer vs. OnSslHandshakeDone event

2010-09-08 Thread Arno Garrels
of these events, and if not what to check for in each ? Yes, it's safe to only handle OnSslHandshakeDone. -- Arno Garrels -- 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

Re: [twsocket] PASV fallback to public IP

2010-09-08 Thread Arno Garrels
IPv6, but not process it. No problem with FritzBox, it blocks IPv6 unless I explicitly unblock certain IPs. I currently use a free SixXS tunnel with Heartbeat support (http://www.sixXS.net) and got my own subnet, FritzBox handles this fine as well, no additional software required. -- Arno Garrels

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-08 Thread Arno Garrels
than OverbyteIcsSslFtpTst.exe. If so, I would compare all SSL settings of your application with the demo settings. Or you could ask for a reason of error error:14077447:SSL routines:SSL23_GET_SERVER_HELLO:reason(1095) in the OpenSSL mailing list. -- Arno Garrels -- To unsubscribe or change your

Re: [twsocket] PASV fallback to public IP

2010-09-07 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Doing the same on an FTP server is much harder, and really needs a public STUN server (as used for SIP for the same reason). Or simply: ?php echo $_SERVER[REMOTE_ADDR]; ? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] PASV fallback to public IP

2010-09-07 Thread Arno Garrels
Arno Garrels wrote: Angus Robertson - Magenta Systems Ltd wrote: Doing the same on an FTP server is much harder, and really needs a public STUN server (as used for SIP for the same reason). Or simply: ?php echo $_SERVER[REMOTE_ADDR]; BTW: The NAT trouble will stop with IPv6

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-06 Thread Arno Garrels
with loading OSSL, handle it. end; -- Arno Garrels -- Arno Garrels -- 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] Bugfix in the experimental timeout source and conditionals renamed

2010-09-05 Thread Arno Garrels
Hi, I just checked in revision #586. Log: Fixed a bug in the experimental throttle and timeout source which made it impossible to use both features at the same time (EListError). Renamed conditionals EXPERIMENTAL_THROTTLE and EXPERIMENTAL_TIMEOUT to BUILTIN_THROTTLE and BUILTIN_TIMEOUT. It's now

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-04 Thread Arno Garrels
Francois PIETTE wrote: const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; I think the solution is much simpler than what you think: Change const by var so that the DLL name is provided thru a global This is not required since writable typed constants is enabled. -- Arno Garrels

Re: [twsocket] TSmtpCli and bad spam score

2010-09-04 Thread Arno Garrels
Hello DZ-Jay, At least Firebird provides 5 priorities so why should we remove this feature from ICS? It's likely that X-MSMail-Priority can be removed, however my OE v6 still uses it, XP SP3. Isn't it just the high priority itself, that scores? -- Arno Garrels On 09/03/2010 15:09, Arno

Re: [twsocket] TSmtpCli and bad spam score

2010-09-04 Thread Arno Garrels
Arno Garrels wrote: Isn't it just the high priority itself, that scores? Or most likely the existence of the word Priority, may it be low or high? But I cannot remember when I saw the last spam mail with a high priority. -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] TSmtpCli and bad spam score

2010-09-04 Thread Arno Garrels
DZ-Jay wrote: On Sep 04, 2010, at 11:40, Arno Garrels wrote: Hello DZ-Jay, At least Firebird provides 5 priorities so why should we remove this feature from ICS? It's not standard, most clients assume there's only low, normal, and urgent. In any case, setting TSmtpCli to use only

Re: [twsocket] THtmlSmtpCli and inline image lost

2010-09-03 Thread Arno Garrels
that current ICS V7 moved to trunk: svn://svn.overbyte.be/ics/trunk or http://svn.overbyte.be:8443/svn/ics/trunk -- Arno Garrels -- 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

Re: [twsocket] THtmlSmtpCli Outlook Express and attachment problem

2010-09-03 Thread Arno Garrels
. If there is an attachment OE displays the paper clip for me, if there are only embedded images there's no paper clip visible. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website

Re: [twsocket] TSmtpCli and bad spam score

2010-09-03 Thread Arno Garrels
'); end; ... Look good. Does that mean that you or DZ-Jay will check in this change? I'm currently not up to date with the SMTP RFCs. But I wonder why Priority and X-MSMail-Priority are no longer required? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-02 Thread Arno Garrels
connections rather than the number of connections. -- Arno Garrels -- 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

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-02 Thread Arno Garrels
when you get this error. my solution was to put comments before or (LastError = WSAECONNABORTED) How does that help, it won't bring back the connection g Anyway it doesn't help in current case since TryToSend is not called. -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Arno Garrels
you read the change log with a SVN client, unfortunately the change log published on the wiki page doesn't list merged revisions. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Arno Garrels
context. I just have to be sure that I understood your reference to f_ERR_remove_state(unsigned ThreadID). Should I call this function just before the Thread's execute method returns, sending the threads ThreadID as param ? Yes, it is a cleanup function. -- Arno Garrels -- To unsubscribe

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Arno Garrels
was required anyway. Your current design might not be optimal, however it might be sufficient depending on your needs, it's easier to write anyway. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Arno Garrels
handshake error AFAIR. -- Arno Garrels Best regards Kurt -Oprindelig meddelelse- Fra: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] På vegne af Arno Garrels Sendt: 1. september 2010 11:31 Til: ICS support mailing Emne: Re: [twsocket] TSslWSocket

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Arno Garrels
very hard and report how it works for you. -- Arno Garrels -- 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

Re: [twsocket] New SVN URLs. Please switch your work copies!

2010-09-01 Thread Arno Garrels
you had added EXPERIMENTAL_THROTTLE to the ICS FTP client to replace the existing UseBandwidthControl implementation but it does not seem to be in the latest v7, it must have been a test version. Yes, it is still a private copy but it works g. -- Arno Garrels -- To unsubscribe or change

[twsocket] New SVN URLs. Please switch your work copies!

2010-08-31 Thread Arno Garrels
get any more updates, updates go to the trunk from now. Access to the old icsv7 branch will be denied soon to 'force' people to switch their work copy to trunk. See also: http://wiki.overbyte.be/wiki/index.php/ICS_Download -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-08-30 Thread Arno Garrels
with a server certificate ? It should work, of course you have to set all SSL related properties before TSslWSocket.Dup(). You can use a single instance of TSslContext for all client objects, that is thread-safe AFAIK. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] ICS and SSL on x64 server

2010-08-27 Thread Arno Garrels
Graham Stratford wrote: I downloaded a 64-bit version of the SSL libraries and moved the DLLs into my System32 folder. Is that the problem? Sure, since Delphi/C++Builder is 32-bit you have to use 32-bit DLLs. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] ICS and SSL on x64 server

2010-08-27 Thread Arno Garrels
processes cannot load and link 64-bit libraries. -- Arno Garrels -- 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

Re: [twsocket] SSL OnHandshakeDone ceritificate contains emptymembers

2010-08-26 Thread Arno Garrels
the subjectAltName extension allows to hold the FQDN as well as other identifying information such as the IP address. We use function PostConnectionCheck to perform these checks for us. } -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] SSL: error reading key file

2010-08-26 Thread Arno Garrels
, for your wonderful assistance. You are wellcome. -- Arno Garrels -- 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

Re: [twsocket] SSL OnHandshakeDone ceritificate contains emptymembers

2010-08-25 Thread Arno Garrels
certificate'#13#10 + 'Subject: ' + Cert.SubjectOneLine + ''#13#10 + 'Issuer: ' + Cert.IssuerOneLine + ''#13#10 + 'Verify result: ' + Cert.VerifyErrMsg + ' Verify depth: ' + IntToStr(Cert.VerifyDepth)); end; -- Arno Garrels -- To unsubscribe or change

Re: [twsocket] TIcsLogger.DoDebugLog optimization

2010-08-25 Thread Arno Garrels
with AddTimeStamp + Msg. You do it always if loAddStamp is set regardless whether one of the destination options is set and in case of loDestEvent the OnIcsLogEvent is assigned or not. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] SSL: error reading key file

2010-08-24 Thread Arno Garrels
TSslContext.SslPassPhrase is not assigned / empty. -- Arno Garrels -- 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

Re: [twsocket] SSL: error reading key file

2010-08-24 Thread Arno Garrels
settings with the settings in OverbyteIcsWebserv demo, the difference was most likely the answer to your question, provided both browsers work as expected against the demo and OpenSSL DLLs are the same. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Suggestion for improvement

2010-08-19 Thread Arno Garrels
the maximum number of message IDs per WndHandler. If you do not use SVN you can get the file with a a browser as well URL: http://svn.overbyte.be:8443/svn/ics/branches/icsv7/Delphi/Vc32/OverbyteIcsWndControl.pas Both user and password ics -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] ICS Wnd Control - Possible bug

2010-08-18 Thread Arno Garrels
- FMsgLow]) then raise EIcsException.Create('Msg not registered'); FMsgMap[Msg - FMsgLow] := nil; Dec(FMsgCnt); Msg := 0; while PeekMessage(LMsg, FHandle, Msg, Msg, PM_REMOVE) do {loop}; // == added if FMsgCnt = 0 then DeallocateHWnd; end; -- Arno Garrels

Re: [twsocket] ICS Wnd Control - Possible bug

2010-08-18 Thread Arno Garrels
Arno Garrels wrote: Eric, I guess it helps to remove all pending messages with the given ID from the queue when the message ID is unregistered. One could do that either in custom code or maybe it should be added in TIcsWndHandler.UnregisterMessage as below? Previous code did remove

Re: [twsocket] Suggestion for improvement

2010-08-18 Thread Arno Garrels
beyond makes no sense IMO. Setting the maximum number of messages per handler would be just one line: GWndHandlerPool.SetMaxMsgPerHandler(200); The GWndHandlerPool variable is assigned in OverbyteIcsWndControl's initialization section. -- Arno Garrels -- To unsubscribe or change your

Re: [twsocket] ICS Message handlers

2010-08-13 Thread Arno Garrels
? No, the list server will eat it, either upload it to some website and post the link here or send me a private e-mail, thanks. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website

Re: [twsocket] ICS Message handlers

2010-08-13 Thread Arno Garrels
. Just tested on Win7 64-bit 8 GB RAM: interactive = 9982 vs. 2277 non-interactive service. Good to know! -- Arno Garrels -- 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

Re: [twsocket] ICS Message handlers

2010-08-13 Thread Arno Garrels
. -- Arno Garrels -- 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

Re: [twsocket] OT: ICS-based IQ Proxy Server supports 60Kconcurrent connections on single port now!

2010-08-13 Thread Arno Garrels
will be available since interactive services have been deprecated since Vista. -- Arno Garrels -- 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

Re: [twsocket] ICS Message handlers

2010-08-13 Thread Arno Garrels
not be relevant) is that the application blocks until entire list of events is processed. Like iterating over a list of n server clients blocks all clients. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] OT: Delphi/C++ Builder XE Preview Video

2010-08-11 Thread Arno Garrels
://forums.embarcadero.com/forum.jspa?forumID=67 The EMBT forums are monitored by EMBT employees. It makes absolutely no sense to discuss the RAD Studio roadmap in TWSocket list. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi

Re: [twsocket] Found a bug and made a fix in function UrlDecode

2010-08-09 Thread Arno Garrels
Bjørnar Nielsen wrote: Arno, ... try the following code and let me know how it works for you, The code works for me. But should not the first overload directive be inside the conditional define? Yes, it's better inside, corrected. Just updated the svn repository. -- Arno Garrels

Re: [twsocket] Detecting POP3 protocol state and disconnecting

2010-08-09 Thread Arno Garrels
if it will be used for DNS lookup or something like that but it doesn't seem to have any effect... This timeout only works (if at all) with the synchronous methods or TSyncPop3Cli. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] DNS Problem

2010-08-09 Thread Arno Garrels
Eric Fleming Bonilha wrote: Arno Garrels wrote: So multiple calls to DnsLookup from the same thread context are serialized. In other words, DnsLookup always returns immediately, however Win32 API WSAAsyncGetHostByName serializes multiple requests from the same thread context internally

Re: [twsocket] DNS Problem

2010-08-09 Thread Arno Garrels
used method DnsLookup. So in this case it is simple to fix, call method DnsLookup and connect with a dotted IP address from the OnDnsLookupDone event handler. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] DNS Problem

2010-08-09 Thread Arno Garrels
the better. Is it safe to use WSocketResolveHost routine? I can translate the result to dotted IP address easily Yes, it is safe, however I would consider to use WSocket_gethostbyname as well (more work). -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list

<    2   3   4   5   6   7   8   9   10   11   >