Re: [twsocket] SSL Session Cache (was OpenSSL hardware accelerators)

2009-02-17 Thread Fastream Technologies
Ok. Let me be clearer on our customers' need--there are ISPs with hundreds of domains and they cannot rely on clients to support session caching--there is a NEED for OpenSSL HARDWARE CARDS support for PCI slots. Otherwise 20-25 SSL connections for different client IP/ports is insufficient for

[twsocket] Freeing of sockets

2009-02-17 Thread Markus Müller
Hello Mailinglist, my project is now just working great, thanks very much for your help... but there is just one question. Cause it only works fine if I don't free TWSocket objects. If I Free them it often works fine. But in much cases - for example - in the OnSessionClose Handler (the memory of

Re: [twsocket] Freeing of sockets

2009-02-17 Thread Wilfried Mestdagh
Hello Markus, you have to destroy it outside an event handler. to do that you can call the Release method. Then it is destroyed when messages are pumped again, so after your code finish. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz

[twsocket] [OT] Problem migrating ProxyInfo to D2009

2009-02-17 Thread Maurizio Lotauro
Hi, during the migration of my TProxyInfo component to D2009 I get a strange problem that get me crazy. One API always fail with error 1003 (Cannot complete this function). The exactly same code with D5 works (it show XYZT). I explicitly declared Ansi what must be Ansi, so I really don't

Re: [twsocket] [OT] Problem migrating ProxyInfo to D2009

2009-02-17 Thread Arno Garrels
Hi Maurizio, One API always fail with error 1003 Which one? Which line? From a very brief look: TGetProxyInfo = function ( lpszUrl: LPCSTR; LPCSTR maps to either Ansi or Unicode, however you pass it a PAnsiChar URL? -- Arno Garrels -- To unsubscribe or

Re: [twsocket] [OT] Problem migrating ProxyInfo to D2009

2009-02-17 Thread Maurizio Lotauro
Scrive Arno Garrels arno.garr...@gmx.de: Hi Maurizio, Hi Arno, One API always fail with error 1003 Which one? Which line? When the GetProxyInfo is called. You can try yourself, the code that I posted practically works out of the box. From a very brief look: TGetProxyInfo =

Re: [twsocket] [OT] Problem migrating ProxyInfo to D2009

2009-02-17 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels arno.garr...@gmx.de: Hi Maurizio, Hi Arno, One API always fail with error 1003 Which one? Which line? When the GetProxyInfo is called. You can try yourself, the code that I posted practically works out of the box. What is

Re: [twsocket] [OT] Problem migrating ProxyInfo to D2009

2009-02-17 Thread Arno Garrels
Arno Garrels wrote: What is TInitializeAutoProxyDll? Sorry, found, I should stop coding today :) -- 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

Re: [twsocket] [OT] Problem migrating ProxyInfo to D2009

2009-02-17 Thread Matt Minnis
Yeah, we all have days like that. On those days, you'll save yourself time by doing something else. -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels Sent: Tuesday, February 17, 2009 13:20 To: ICS support mailing Subject:

[twsocket] How to: Client -- many servers

2009-02-17 Thread Verstrepen
Hello, I have the next situation: I need to connect to industrial printers for printing on packaging witch are acting like servers. So, what I do is: I create a client and connect to such a printer. This works fine. Now I have to modify my application that I have to search in a range of

Re: [twsocket] [OT] Problem migrating ProxyInfo to D2009

2009-02-17 Thread Arno Garrels
Matt Minnis wrote: Yeah, we all have days like that. On those days, you'll save yourself time by doing something else. Thanks, that's helpful, I'll try to continue investigating deeper reasons of the financial crisis today, very interesting stuff, btw! But unfortunately rather OT. -- Arno

Re: [twsocket] Freeing of sockets

2009-02-17 Thread Markus Mueller
Hi Wilfried, I have created an destructor Free, which inherited runs Free of TWSocket. This Free is never called; can anybody tell me why? Are you realy sure it is freed by calling Release if it is never calling Free?! Regards, Markus Mueller Hello Markus, you have to destroy it outside an

Re: [twsocket] How to: Client -- many servers

2009-02-17 Thread Francois PIETTE
I need to connect to industrial printers for printing on packaging witch are acting like servers. So, what I do is: I create a client and connect to such a printer. This works fine. Now I have to modify my application that I have to search in a range of IP-adresses for such printers. When

Re: [twsocket] Freeing of sockets

2009-02-17 Thread Olivier Sannier
Destructor must be called Destroy, not Free Markus Mueller wrote: Hi Wilfried, I have created an destructor Free, which inherited runs Free of TWSocket. This Free is never called; can anybody tell me why? Are you realy sure it is freed by calling Release if it is never calling Free?!