
5 Sep
2008
5 Sep
'08
3:47 p.m.
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/