| Algorithm 3 Decoding strategy at the destination node |
| 1: Destination node receives a packet . |
| 2: gets frame number from . 3: If 4: discards . 5: Else 6: gets row vector and coded data slice from . 7: If |
| 8: 9: 10: If do 11: Put into |
| 12: Put into existing encoded data . |
| 13: ; |
| 14: If |
| 15: calculates the inverse matrix of . 16: uses to decode into raw data . |
| 17: sends to the play module. 18: 19: Endif 20: Endif |
| 21: Else |
| 22: |
| 23: gets from . 24: Clear matrix G and encoded data H |
| 25: |
| 26: goto step 6 |
| 27: Endif |