예제 #1
0
파일: WksRecord.cs 프로젝트: yslib/minimvc
        public WksRecord(DataBuffer buffer, int length)
        {
            _ipAddress = buffer.ReadIPAddress();
            _protocol = buffer.ReadByte();
            _services = new Byte[length - 5];

            for (int i = 0; i < (length - 5); i++)
                _services[i] = buffer.ReadByte();
        }
예제 #2
0
        public WksRecord(DataBuffer buffer, int length)
        {
            _ipAddress = buffer.ReadIPAddress();
            _protocol  = buffer.ReadByte();
            _services  = new Byte[length - 5];

            for (int i = 0; i < (length - 5); i++)
            {
                _services[i] = buffer.ReadByte();
            }
        }