RE: Windows, MS VC++, MFC and OpenSSL
Use the "Detach" class member it will give you a normal socket. Riaan -Original Message- From: Radboud Platvoet [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 11:19 AM To: [EMAIL PROTECTED] Subject: Windows, MS VC++, MFC and OpenSSL Hi everyone, Does anyone know if it Is possible to use the MFC CAsyncSocket class as a base for an OpenSSL connection? The CAsyncSocket class has many nice features such as OnReceive, OnClose, OnAccept and OnConnect events which I use extensively in my programs that use unsecure connections. I would like to be able to use the same features for my secure connections. Thanks, Radboud __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] NOTICE: This message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify the sender at Nanoteq (Pty) Ltd immediately, telephone number +27 (0) 12 672 7000. Any unauthorised use, alteration or dissemination is prohibited. Nanoteq (Pty) Ltd accepts no liability whatsoever for any loss whether it be direct, indirect or consequential, arising from information made available and actions resulting there from. __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
RE: Windows, MS VC++, MFC and OpenSSL
Cool! Thanks! - Radboud -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kenneth R. Robinette Sent: Wednesday, October 02, 2002 2:39 PM To: [EMAIL PROTECTED] Subject: Re: Windows, MS VC++, MFC and OpenSSL Date sent: Wed, 02 Oct 2002 11:26:19 +0200 From: Michael Voucko <[EMAIL PROTECTED]> Organization: Fillmore Labs GmbH To: [EMAIL PROTECTED] Subject: Re: Windows, MS VC++, MFC and OpenSSL Send reply to: [EMAIL PROTECTED] Yes it is possible, and in fact very easy. And it works quite well. Ken Radboud Platvoet wrote: > Hi everyone, > > Does anyone know if it Is possible to use the MFC CAsyncSocket class as a > base for an OpenSSL connection? > > The CAsyncSocket class has many nice features such as OnReceive, OnClose, > OnAccept and OnConnect events which I use extensively in my programs that > use unsecure connections. I would like to be able to use the same features > for my secure connections. Checkout the current "maximum block size in SSL_write()" thread, it might give you a clue what to expect. -- Michael __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl- [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] _ Support InterSoft International, Inc. Voice: 888-823-1541, International 281-398-7060 Fax: 888-823-1542, International 281-560-9170 [EMAIL PROTECTED] http://www.securenetterm.com __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Windows, MS VC++, MFC and OpenSSL
Date sent: Wed, 02 Oct 2002 11:26:19 +0200 From: Michael Voucko <[EMAIL PROTECTED]> Organization: Fillmore Labs GmbH To: [EMAIL PROTECTED] Subject: Re: Windows, MS VC++, MFC and OpenSSL Send reply to: [EMAIL PROTECTED] Yes it is possible, and in fact very easy. And it works quite well. Ken Radboud Platvoet wrote: > Hi everyone, > > Does anyone know if it Is possible to use the MFC CAsyncSocket class as a > base for an OpenSSL connection? > > The CAsyncSocket class has many nice features such as OnReceive, OnClose, > OnAccept and OnConnect events which I use extensively in my programs that > use unsecure connections. I would like to be able to use the same features > for my secure connections. Checkout the current "maximum block size in SSL_write()" thread, it might give you a clue what to expect. -- Michael __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl- [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] _ Support InterSoft International, Inc. Voice: 888-823-1541, International 281-398-7060 Fax: 888-823-1542, International 281-560-9170 [EMAIL PROTECTED] http://www.securenetterm.com __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]