#include <cstring>
#include "communicator.h"
+using namespace std;
+
namespace {
using namespace Msp::Net;
if(!good)
return;
- in_end += socket.read(in_end, in_buf+buf_size-in_end);
try
{
+ in_end += socket.read(in_end, in_buf+buf_size-in_end);
+
bool more = true;
while(more)
{
}
}
}
- catch(...)
+ catch(const exception &e)
{
good = false;
- throw;
+ if(signal_error.empty())
+ throw;
+ signal_error.emit(e);
}
}