Index: bufferedsocketdevice.cpp
===================================================================
--- bufferedsocketdevice.cpp	(revision 17738)
+++ bufferedsocketdevice.cpp	(working copy)
@@ -14,6 +14,7 @@
 #include "bufferedsocketdevice.h"
 #include "upnputil.h"
 #include "mythverbose.h"  // for VERBOSE
+#define DBG printf("%s:%d %s\n",__FILE__,__LINE__,__func__)
 
 /////////////////////////////////////////////////////////////////////////////
 //
@@ -376,7 +377,7 @@
 Q_ULONG BufferedSocketDevice::WaitForMore( int msecs, bool *pTimeout /* = NULL*/ ) 
 {
     bool bTimeout = false;
-
+DBG;
     if ( !m_pSocket->isValid() )
         return 0;
 
@@ -384,6 +385,7 @@
 
     if (nBytes == 0)
     {
+DBG;
 /*
         The following code is a possible workaround to the lost request problem
         I just hate looping too much to put it in.  I believe there is something
@@ -409,13 +411,13 @@
         //          to help recover from lost requests.  (hack until better fix found)
 
         msecs  = 1000;
-
+DBG;
         nBytes = m_pSocket->waitForMore( msecs, &bTimeout );
-
+DBG;
         if (pTimeout != NULL)
             *pTimeout = bTimeout;
     }
-            
+DBG;            
     return nBytes; // nBytes  //m_bufRead.size();
 }
 
