12님께서 하신 말씀을 생각하면서 책을 읽어보니
Character-Oriented Protocols
In a character-oriented protocol, data to be carried are 8-bit characters from a coding
system such as ASCII (see Appendix A). The header, which normally carries the source
and destination addresses and other control information, and the trailer, which carries
error detection or error correction redundant bits, are also multiples of 8 bits. To separate
one frame from the next, an 8-bit (I-byte) flag is added at the beginning and the end of a
frame. The flag, composed of protocol-dependent special characters, signals the start or
end of a frame. Figure 11.1 shows the format of a frame in a character-oriented protocol.
이 부분에서
프레임 = 헤더 + 트레일러 + 데이터 + 플래그로 구성되는 것 같은데요.
질문은
데이터, 플래그 -> 이거는 각 8비트(1바이트)로 고정된 건 알겠는데
헤더, 트레일러 -> 이거는 그냥 8비트의 배수이기만 하면 되는건가요? 8비트, 16비트, 24비트... 다 가능한건가요?
일단 저는 character-oriented protocol에 대해서는 잘 모르구요;; 일반적인 네트워크 프로토콜이랑 구조적으로 비슷해보여서 그 관점에서 말씀드린건데 오해 없으셨으면 합니다.. 일반적인 네트워크 프로토콜들에서 헤더나 트레일러는 8비트의 배수 크기를 가지는 걸로 알고있고, 본문의 protocol 설명에서도 8비트 배수라고 나와있으니 맞지 않을까요.. 단 프레임의 크기 자체는 표준에서 정한 고정된 크기겠죠..
ㄴ아 그렇군요 답변 감사합니다
검색해보니 링크레이어에서 사용되는 프로토콜의 한 종류 인것 같네요
ㄴ맞습니다