diff --git a/src/io/pipeer.cpp b/src/io/pipeer.cpp index 07ccfb1f..91b9dece 100755 --- a/src/io/pipeer.cpp +++ b/src/io/pipeer.cpp @@ -245,7 +245,7 @@ void PIPeer::initMBcasts(PIStringList al) { piForeachC (PIString & a, al) { //piCout << "mcast try" << a; ce = new PIEthernet(); -// ce->setDebug(false); + ce->setDebug(false); ce->setName("__S__PIPeer_mcast_eth_" + a); ce->setParameters(0); ce->setSendAddress(_PIPEER_MULTICAST_IP, _PIPEER_MULTICAST_PORT); @@ -259,13 +259,13 @@ void PIPeer::initMBcasts(PIStringList al) { // piCout << "mcast bind to" << a << ce->sendIP(); } else { delete ce; - piCoutObj << "invalid address for mcast" << a; + //piCoutObj << "invalid address for mcast" << a; } } al.removeAll(_PIPEER_MULTICAST_IP); piForeachC (PIString & a, al) { ce = new PIEthernet(); -// ce->setDebug(false); + ce->setDebug(false); ce->setName("__S__PIPeer_bcast_eth_" + a); ce->setParameters(PIEthernet::Broadcast); cint = prev_ifaces.getByAddress(a); @@ -280,7 +280,7 @@ void PIPeer::initMBcasts(PIStringList al) { // piCout << "bcast bind to" << a << nm; } else { delete ce; - piCoutObj << "invalid address for bcast" << a; + //piCoutObj << "invalid address for bcast" << a; } } // eth_lo.setDebug(false); @@ -302,6 +302,7 @@ void PIPeer::initMBcasts(PIStringList al) { eth_tcp_srv.setName("__S__PIPeer_eth_TCP_Server"); eth_tcp_srv.init(); eth_tcp_srv.listen("0.0.0.0", _PIPEER_TCP_PORT, true); + eth_tcp_srv.setDebug(false); CONNECTU(ð_tcp_srv, newConnection, this, newTcpClient); eth_tcp_srv.startThreadedRead(); eth_tcp_cli.setName("__S__PIPeer_eth_TCP_Client");