Boost logo

Boost :

Subject: Re: [boost] Asio and SSL problem
From: Berserker (berserker_r_at_[hidden])
Date: 2008-09-05 11:47:39


Thanks for the reply Carlo :)

> * when you close and connect again, we use 'lowest_layer()' where you use
> 'next_layer()'

stream::lowest_layer() is only a wrapper around "next_layer_.lowest_layer()" where, in case of a "basic_socket" as template argument, is:

lowest_layer_type& basic_socket::lowest_layer()
{
  return *this;
}

So there is no difference with:

next_layer_type& stream::next_layer()
{
  return next_layer_;
}

> * stupid one (you never know...): are you catching exceptions on the
> caller? :)

Sure but I don't think that a stack overflow is a "catchable exception" don't you think :) ?

_________________________________________________________________
Cerchi un locale per la serata? Chiedilo a Live Maps!
http://maps.live.it/


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