Automatic repeat request error management mechanism là gì
The upper portion of the sublayer of the data link layer in the open system interconnections (OSI) reference model for data transmission is called the Logical Link Control (LLC).
ifndef GILBERT ELLIOTT Hdefine GILBERT_ELLIOTT_Hinclude "socket_io.h"define MAX BURST LENGTH GEC 1000class gilbert Elliott { int p,q; // transition probabilities bool state; public: short stat[MAX_BURST_LENGTH_GEC]; unsigned char bl; //burst length public: gilbert Elliott(); void initGilbert Elliott(double plr, double lb_avr); bool getState(void); bool getCurrentState(void); int randomNumber(int hi); //int write_stat_to_file(FILE *file); endif // GILBERT ELLIOTT HCLASS FILE gilbert_elliott.cc include "gilbert_elliott.h"gilbert_Elliott::gilbert_Elliott() { p = q = 0; bl = 0;
for (int i=0; i
|