Пример #1
0
int processHello( char* pt )
{
  int ret=-1;
  if(strcmp(pt,myIP)==0) {
    // printf( "Ignoring my own hello.\n" );
  }
  else {
    signalSync( );
    ret=0;
  }
  return ret;
}
Пример #2
0
void TClockForm::slotSync(bool /*checked*/)
{
	emit signalSync();
}