Boost logo

Boost :

From: Boris Schäling (boris_at_[hidden])
Date: 2002-11-27 03:47:29


> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]]On Behalf Of Darryl Green
> Sent: Wednesday, November 27, 2002 1:37 AM
> To: Boost mailing list
> Subject: RE: [boost] Re: Socket errors

> [...]
> > > [...]
> > > It is important to remember that SSL/TLS do not assume TCP or any
> > > particular transport. If someone wants to run SSL over a pair
> of simplex
> > > connections they can. The most obvious case I can think of is
> running it
> > > over pipes. I haven't needed this (yet). I would think a motivated
> >
> > See my proposal for a multiplexing library at Boost Wiki. There is a
> > ssl_stream class that takes a file descriptor from tcp_server,
> tcp_client,
> > un_server, un_client and so on.
>
> I had a look at your proposal earlier. From your descrioption and
> example I can't see how it supports a pair of simplex connections
> under ssl. Am I missing something?

ssl_stream needs a file descriptor to work. It doesn't matter where this
file descriptor comes from. Thus it's possible to open a pipe and use the
pipe's file descriptors to create an instance of ssl_stream.

Boris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk