[ace-users] question about SSL communication and TCP communication

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Tue Jul 17 15:06:20 CDT 2007

Hi Richard,

To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form (PRF),
which is in


or in


in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers



> I am doing Client/Server network progarmming  by using ACE. Between Client and Server, I tried two kinds of connections,
> one connection is TCP connection and another one is SSL connection. through testing, I found TCP connection is much faster
> than SSL connection. For example, when I send some data by TCP connection, it will take 17s. however when I send same data
> by SSL connection. it will take 79s. I know SSL connection should be slower than TCP connection. do you think it should be
> so slow? what I did is as following:
> if (SSLConnection) //ssl connection
> {
>       send_cnt = this->peer ().sendv_n (iov, 2);
> }
> else //TCP connnection
> {
>       send_cnt = this->peer ().peer().sendv_n(iov, 2);
> }
> all code is same except for the above parts.
> thank you very much for your comments and suggestion in advance.
> Richard
> ---------------------------------------------------------------------------------------------------------------------------
> Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
> _______________________________________________
> ace-users mailing list
> ace-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ace-users

More information about the Ace-users mailing list