Пример #1
0
        public Connect()
        {
            this.readBuff  = new byte[RXBUFFER_SIZE];
            this.frameBuff = new byte[RXBUFFER_SIZE * 2];
            this.frameLen  = 0;
            this.devid     = null;

            this.flagFrame = false;
            this.flagClose = false;
            this.conState  = ydpMachEm.Idle;

            this.rxCnt    = 0;
            this.fsStart  = -1;
            this.delayCnt = 0;

            this.flagLog = false;
        }
Пример #2
0
 public void Init(Socket socket)
 {
     this.socket   = socket;
     this.conState = ydpMachEm.AcceptDone;
 }