bcst: now forwarded to clients
This commit is contained in:
4
main.cpp
4
main.cpp
@ -229,10 +229,10 @@ int main(int argc, char* argv[])
|
||||
if(config.verbose)
|
||||
{
|
||||
std::cout<<"bcst: ";
|
||||
for( int j = 6; j < reclen; j++ )std::cout<<inBuffer[j];
|
||||
for( int j = 0; j < reclen; j++ )std::cout<<inBuffer[j];
|
||||
std::cout<<std::endl;
|
||||
}
|
||||
for(unsigned int j = 0; j < clientSockets.size(); j++) if(i != j) clientSockets[j]->send(inBuffer+6, reclen-6);
|
||||
for(unsigned int j = 0; j < clientSockets.size(); j++) if(i != j) clientSockets[j]->send(inBuffer, reclen);
|
||||
|
||||
}
|
||||
else if(strncmp( inBuffer, "reinitsp", 8) == 0 && serial != -1)
|
||||
|
Reference in New Issue
Block a user