git-svn-id: svn://db.shs.com.ru/pip@118 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -187,6 +187,7 @@ void PIPeer::timerEvent(void * data, int delim) {
|
||||
|
||||
|
||||
void PIPeer::initEths(PIStringList al) {
|
||||
piCoutObj << "initEths start";
|
||||
PIEthernet * ce;
|
||||
const PIEthernet::Interface * cint = 0;
|
||||
piForeachC (PIString & a, al) {
|
||||
@@ -214,10 +215,12 @@ void PIPeer::initEths(PIStringList al) {
|
||||
eth_send.setDebug(false);
|
||||
eth_send.setName("__S__PIPeer_traffic_eth_send");
|
||||
eth_send.setParameters(0);
|
||||
piCoutObj << "initEths ok";
|
||||
}
|
||||
|
||||
|
||||
void PIPeer::initMBcasts(PIStringList al) {
|
||||
piCoutObj << "initMBcasts start";
|
||||
destroyMBcasts();
|
||||
PIEthernet * ce;
|
||||
const PIEthernet::Interface * cint;
|
||||
@@ -270,6 +273,7 @@ void PIPeer::initMBcasts(PIStringList al) {
|
||||
}
|
||||
if (eths_mcast.isEmpty()) piCoutObj << "Warning! Can`t find suitable network interface for multicast receive, check for exists at least one interface with multicasting enabled!";
|
||||
if (eths_bcast.isEmpty()) piCoutObj << "Warning! Can`t find suitable network interface for broadcast receive, check for exists at least one interface with broadcasting enabled!";
|
||||
piCoutObj << "initMBcasts ok";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user