From d7579abfc05a63e3cc6aac7da1ce0ae5cbf73e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Tue, 27 Sep 2016 10:27:37 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@273 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- src/io/pipeer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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");