summaryrefslogtreecommitdiffstats
path: root/tdecore/ksock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/ksock.cpp')
-rw-r--r--tdecore/ksock.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tdecore/ksock.cpp b/tdecore/ksock.cpp
index 96526463a..89126e0ca 100644
--- a/tdecore/ksock.cpp
+++ b/tdecore/ksock.cpp
@@ -330,15 +330,20 @@ bool TDEServerSocket::init( unsigned short int _port )
return true;
}
+// RAJA FIXME DEBUG ONLY
+extern char *__progname;
+
bool TDEServerSocket::bindAndListen()
{
if (d == NULL || d->ks == NULL)
return false;
+printf("[RAJA DEBUG 640.0] In TDEServerSocket::bindAndListen [%s]\n\r", __progname); fflush(stdout);
int ret = d->ks->listen( SOMAXCONN );
if (ret < 0)
{
+printf("[RAJA DEBUG 640.1] Error listening on socket [%d]\n\r", ret); fflush(stdout);
kdWarning(170) << "Error listening on socket: " << ret << "\n";
delete d->ks;
d->ks = NULL;