TLS server using AnyEvent::Handle
Marc Lehmann
schmorp at schmorp.de
Fri Jan 14 07:01:59 CET 2011
On Thu, Jan 13, 2011 at 01:42:42PM -0800, R bob <rb_newsletter at yahoo.com> wrote:
> Is there any sample working code? I searched on google with all kind of related
> key words with no luck. Any help is appreciated and thanks in advance.
Have you tried simply reading the manpage? It comes with a TLS server example.
> If I take the tls stuffs out from the below code, then this code listens to the
> defined port ( $ListenPor) and just works fine.
Your mail client has badly mangled your code, to the point of being almost
unreadable. From what I can see, you try to use many undocumented (and
nonexisting) parameters such as cert_file or tls_cipher_list.
I would suggest starting with the tls server example in the manpage, and
then to work your way up from there.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the anyevent
mailing list