Index: libs/libmyth/mythsocket.cpp =================================================================== --- libs/libmyth/mythsocket.cpp (revision 13874) +++ libs/libmyth/mythsocket.cpp (working copy) @@ -7,8 +7,8 @@ #include #include -#define SLOC(a) QString("MythSocket(%1:%2): ").arg((unsigned long)a, 0, 16)\ - .arg(a->socket()) +#define SLOC(a) QString("MythSocket(%1:%2:%3): ").arg((unsigned long)a, 0, 16)\ + .arg(a->socket()).arg(a->peerAddress().toString()) #define LOC SLOC(this) const uint MythSocket::kSocketBufferSize = 128000; @@ -269,7 +269,7 @@ if ((print_verbose_messages & VB_NETWORK) != 0) { - QString msg = QString("write -> %1 %2") + QString msg = QString("write -> %1 '%2'") .arg(socket(), 2).arg(payload); if ((print_verbose_messages != VB_ALL) && msg.length() > 88) @@ -291,6 +291,7 @@ } int temp = writeBlock(payload.data() + written, size); + VERBOSE(VB_NETWORK,QString("writeStringList: writeBlock('%1' + '%2', '%3') == %4").arg(payload.data()).arg(written).arg(size).arg(temp)); if (temp > 0) { written += temp;