CS(13)
-
컴퓨터네트워크 06주차 Network Layer 01
주 교재 : Computer Networking : A Top-Down Approach 6주차 Network Layer 01 Overview of Network layer What’s inside a router IP: Internet Protocol 1. Overview of Network layer # Network layer sending 호스트에서 receiving 호스트로 segment 전송 sending 호스트에서, segment를 datagram으로 캡슐화 receiving 호스트에서, transport 계층으로 segment 전달 # Two key network-layer functions network-layer function ▪ forwarding : router에서 input으로 들..
2022.12.29 -
컴퓨터네트워크 05주차 Transport Layer 02
주 교재 : Computer Networking : A Top-Down Approach 5주차 Transport layer 02 Principles of reliable data transfer Connection-oriented transport: TCP Principles of congestion control TCP congestion control 1. Principles of reliable data transfer reliable한 channel로 데이터가 전송되면 좋겠지만, 여러 가지 환경에 따라 channel의 상태가 바뀌기 때문에 unreliable한 channel에서 reliable 하게 데이터 통신이 일어나야 한다. Stop-and-wait Pipelined protocols - 1...
2022.12.28 -
컴퓨터네트워크 04주차 Application Layer_03/Transport Layer_01
주 교재 : Computer Networking : A Top-Down Approach 4주차 Application Layer_03 / Transport Layer_01 P2P applications video streaming and content distribution networks socket programming with UDP and TCP Transport-layer services Multiplexing and demultiplexing Connectionless transport : UDP 1. P2P applications #Peer-to-peer(P2P) Architecture 서버가 없다. end system 끼리 직접 소통 ex : P2P file sharing (토렌트), str..
2022.12.27 -
컴퓨터네트워크 03주차 Application Layer_02
주 교재 : Computer Networking : A Top-Down Approach 3주차 Application Layer_2 Web and HTTP E-mail, SMTP, IMAP The Domain Name System DNS 1. Web and HTTP 웹 페이지는 objects로 구성되어 있다. object : HTML file, JPEG image, audio file, etc... object는 위치 주소를 가지고 있으며, 각각 URL로 주소를 지정할 수 있다. #HTTP Overview HTTP : HyperText Transfer Protocol - Web의 application layer protocol - client/server model HTTP는 TCP를 (기본적으로) 사용한..
2022.12.26 -
컴퓨터 네트워크 02주차 Introduction/Application layer
주 교재 : Computer Networking : A Top-Down Approach 2주차 Introduction/Application Layer Performance: loss, delay, throughput Security Protocol layers, service models Priciples of network applications 1. Performance: loss, delay, throughput How do loss and delay occur? packets queue는 router buffer에 있다. packets queue는 자기 차례를 기다린다. link에 도착하는 정도가 output link의 용량을 넘으면, packet loss 발생 Packet loss queue(a..
2022.12.23 -
Array
Array Array : 쌍의 집합 Data Structure 각각의 인덱스에는 그 인덱스와 연관된 값이 있다. 표현법 연속된(consecutive) 메모리로 구현 수학적 표현으로, 대응(correspondence) 또는 매핑(mapping) List in Python 리스트 자체를 가르키는 메모리 주소가 있다. 각각의 인덱스에 대응하는 값은 그 다음부터 등장 class Array: def __init__(self, len=10): self.len = len self.data = [0] * len def __str__(self): return f"{self.data}" def __len__(self): return len(self.data) def __setitem__(self, id, elem): se..
2022.12.22