[twsocket] Hardware support for OpenSSL (is it ready in v7 yet?)

2008-11-25 Thread Fastream Technologies
Hello all, I cannot find what was required to have it. I also have no hardware accelerator for SSL. Anybody have any experience with it? Somebody mentioned it should be simple but if it's so simple why wasn't it built-into the component?? Regards, SZ -- To unsubscribe or change your settings fo

[twsocket] Multiple OnDataAvailable calls when no data to read

2008-11-25 Thread Anton Sviridov
I'm now implementing a server on the base of TWSocketServer. In the client app I send some message to the server app, which receives it inside ServerIn_ClientDataAvailable procedure. Receiving is realized step by step to find a signature of message - i.e., there are several client.Receive in the

Re: [twsocket] Multiple OnDataAvailable calls when no data to read

2008-11-25 Thread Wilfried Mestdagh
Hello Anton, Don't worry. You don't have to do anything on the 'would block' winsock error. TWSocket deals with it. when OnDataAvailable fires, just try to receive all data. When Receive return 0 or -1 then just exit the event handler. -1 is error (don't worry), and 0 is if the peer has closed.

Re: [twsocket] Multiple OnDataAvailable calls when no data to read

2008-11-25 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello Anton, > > Don't worry. You don't have to do anything on the 'would block' > winsock error. TWSocket deals with it. > > when OnDataAvailable fires, just try to receive all data. When Receive > return 0 or -1 then just exit the event handler. > > -1 is error (don'

[twsocket] Multiple OnDataAvailable calls when no data to read

2008-11-25 Thread Anton Sviridov
Hello, Wilfried! You have calmed me :) Arno Garrels [TeamICS] wrote: >As I understand the OP calls receive multiple times in OnDataAvailable >which is not a good idea. So, each Recv "launches" one more OnDataAvail in the future? If so, can I easily read from socket block-by-block? Here's what i

Re: [twsocket] Multiple OnDataAvailable calls when no data to read

2008-11-25 Thread Arno Garrels
Anton Sviridov wrote: > Hello, Wilfried! > You have calmed me :) > > Arno Garrels [TeamICS] wrote: >> As I understand the OP calls receive multiple times in >> OnDataAvailable which is not a good idea. > > So, each Recv "launches" one more OnDataAvail in the future? AFAIK no, only if you do not

[twsocket] Builder 6 Installation and TCppWebBrowser

2008-11-25 Thread Paul
Hi, New to this list. Could not find any references to this problem using the search function on the web site. The error message I'm getting is Registration procedure, Shdocvw_ocx.Register in package c:\program files\borland\cbuilder6\Projects\Bpl\IcsBcb60.bpl raised exception class EFilerError:

Re: [twsocket] Builder 6 Installation and TCppWebBrowser

2008-11-25 Thread Olivier Sannier
Paul wrote: > Hi, > New to this list. Could not find any references to this problem using > the search function on the web site. > The error message I'm getting is > > Registration procedure, Shdocvw_ocx.Register in package > c:\program files\borland\cbuilder6\Projects\Bpl\IcsBcb60.bpl > raised ex