unix network programming 3

[UNP] Chapter 2.3 (UDP) User Datagram Protocol

Encapsulated 라는 용어가 자주 나오는데, 그냥 캡슐화 라고 읽고.. 그것에 의해 묶여진다는 의미로 생각한다. UDP 소켓에 패킷을 적을 때, 패킷은 UDP 데이터그램에 의해 Encapsulated되고, IP 데이터그램에 의해 Encapsulated된다.. 고 써 있는 것을 보니, 레이어 별로 Encapsulated 되는 것을 말하는 것 같다. UDP - Described in RFC 768 - Connectionless - 에러를 발견하거나 패킷이 드랍되도 TCP처럼 자동으로 재전송되지 않는다. - UDP Datagram은 Length를 가진다. - TCP와 다르게 message boundary가 없다. - 같은 소켓으로 다양한 datagram 패킷 받을 수 있다.

[UNP] Chapter 2 The Big Picture - 용어 설명

BPF (BSD Packet Filter)DLPI (DataLink Provider Interface) 이들은 바로 IPv4와 IPv6를 거치지 않고 바로 Datalink layer로 통신한다. 예외로, Linux는 Datalink layer에 접근할 수 있도록 하는 SOCK_PACKET이라는 타입을 제공한다. IPv4 - 32bit address - Provide packet delivery service for TCP, UDP, SCTP, ICMP, IGMP IPv6 - 128bit address - Provide packet delivery service for TCP, UDP, SCTP, ICMPv6 TCP - Reliable Connection Oriented (신뢰성 있는 연결 기반) - Fu..

[UNP] Chapter 2 The Transport Layer: TCP, UDP, and SCTP 1 소개

Goal- How to use protocols- Understand details of the actual design, implementation, and the history Intro focus on the transport layer - TCP - UDP (UnReliable Datagram Socket) - SCTP (Stream Control Transmission Protocol) 이들은 3계층인 network layer의 IP, IPv4/IPv6을 사용한다. Raw socket IPv4 / IPv6를 사용하면서 transport layer를 우회하는 기술. 잘 사용되지 않는다. 이 책에선 ICMPv4 / ICMPv6을 토대로 IPv4 / IPv6에 대한 설명을 할 것이다. UDP - Si..

반응형