ns-allinone-2.35/pgm/pgm-receiver.cc
void PgmReceiver::timeout(int type, void *data)
{

  switch(type) {
  case NAK_TIMER:
    timeout_nak((NakItem *) data);
    break;
  default:
    printf("ERROR (PgmReceiver::timeout): Unknown timeout type %d.\n", type);
    break;
  }

}
// Code to execute when a timeout occurs.
Code to execute when a timeout occurs.
Code to execute when a timeout occurs .
void PgmReceiver::timeout(int type, void *data)
{
  switch(type) {
  case NAK_TIMER:
    timeout_nak((NakItem *) data);
    break;
  default:
    printf("ERROR (PgmReceiver::timeout): Unknown timeout type %d.\n", type);
    break;
  }
}
void PgmReceiver :: timeout ( int type , void * data ) { switch ( type ) { case NAK_TIMER : timeout_nak ( ( NakItem * ) data ) ; break ; default : printf ( " \n " , type ) ; break ; } }
Code to execute when a timeout occurs.
Code to execute when a timeout occurs .