#include #include #include #include #include using namespace std; #include "lt.h" #include "linear.h" #include "graph.h" #include "recv.h" main() { randseed(); int K=30; const int ckb=6; //ckb (checksum blocks) times more checksums than source packets const int n=7; //degree of checksum packets Recv rx(K,ckb*K); rx.nofile=1; rx.nolt=1; rx.gr->setmode(3); int* shift[ckb]; for(int i=0;ikring_m_dgr_n(shift,ckb,n); rx.rate(1000); printf("%4d,",t); for(int i=0;i