public void receiveRedundancy(){
  try {
    while (true) {
      if (mIn.read(mInBuffer) <= 0)       return;
    }
  }
 catch (  IOException e) {
  }
}

public void receiveRedundancy ( ) { try { while ( true ) { if ( mIn . read ( mInBuffer ) <= 0 ) return ; } } catch ( IOException e ) { } }
receive socket redundancy data
