generic socket operations and SSL

Jake Donham <[email protected]> Thu, 19 Nov 2009 17:15:56 -0800
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Hi list,

I read with interest Gerd's blog post about supporting Ocamlnet on Windows:

  http://blog.camlcity.org/blog/ocamlnet3_win32.html

and in particular the description of generic read / write operations
on proxy file descriptors.

I wonder: does this open the possibility of supporting SSL sockets as
another fd_style? Then e.g. Nethttpd_kernel could be made SSL-capable.

I confess that I am a little bit confused by the Nethttpd_kernel in
the 3.0test1 release, since it uses the generic Netsys calls for some
things (e.g. in the lingering_close class) but Unix calls for others.
So it does not seem like it is ready to be used generically; although
perhaps this is not a design goal.

Thanks,

Jake

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july