--ehis line, and those below, will be ignored--
M senf/Socket/ReadWritePolicy.cc
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1804
270642c3-0616-0410-b53a-bc976706d245
*/
#include "ReadWritePolicy.hh"
+#include "senf/Utils/hexdump.hh"
+#include "senf/Utils/String.hh"
//#include "ReadWritePolicy.ih"
// Custom includes
rv = 0;
break;
default:
- SENF_THROW_SYSTEM_EXCEPTION("::sendto");
+ std::stringstream a, b;
+ senf::hexdump( (char*) addr , ((char*) addr) + len , a);
+ senf::hexdump( (char*) buffer , ((char*) buffer) + size , b);
+ SENF_THROW_SYSTEM_EXCEPTION("::sendto(" + senf::str(b) + ") to " + senf::str(a));
}
} while (rv<0);
return rv;