client.hpp   client.hpp 
skipping to change at line 521 skipping to change at line 521
); );
// Install signal handlers // Install signal handlers
conn->recv_event().connect( conn->recv_event().connect(
sigc::mem_fun(*this, &basic_client::on_recv_event) ); sigc::mem_fun(*this, &basic_client::on_recv_event) );
conn->close_event().connect( conn->close_event().connect(
sigc::mem_fun(*this, &basic_client::on_close_event) ); sigc::mem_fun(*this, &basic_client::on_close_event) );
conn->encrypted_event().connect( conn->encrypted_event().connect(
sigc::mem_fun(*this, &basic_client::on_encrypted_event) ); sigc::mem_fun(*this, &basic_client::on_encrypted_event) );
conn->connect(addr); try {
conn->connect(addr);
} catch(net6::error& e) {
conn.reset(NULL);
throw e;
}
} }
template<typename selector_type> template<typename selector_type>
void basic_client<selector_type>:: void basic_client<selector_type>::
disconnect_impl() disconnect_impl()
{ {
// Not connected? Nothing to disconnect // Not connected? Nothing to disconnect
if(!is_connected() ) if(!is_connected() )
throw not_connected_error("net6::basic_client::disconnect"); throw not_connected_error("net6::basic_client::disconnect");
 End of changes. 1 change blocks. 
1 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/