11Chapter 9 UDPChapter 9 UDP??Process-to-municationProcess-to-munication??User datagramUser datagram??ChecksumChecksum??UDP operationUDP operation??Use of UDPUse of UDP??UDP packageUDP package22Transport LayerTransport Layer??FunctionsFunctions??To serve as the To serve as the intermediaryintermediary between the between the application programs and work operationsapplication programs and work operations??To create a To create a process-to-municationprocess-to-munication??To provide a To provide a control mechanismcontrol mechanism at the transport at the transport layerlayer??To provide a To provide a connection mechanismconnection mechanism for the for the processesprocesses??ProtocolsProtocols??Transmission Control ProtocolTransmission Control Protocol,,TCPTCP??User Datagram ProtocolUser Datagram Protocol,, Process-to- Process-to- of IP protocolDomain of IP protocolDomain of transport protocolsDomain of transport protocolsIPIP地址地址协议端口(协议端口(portport))端点(端点(endpointendpoint))44Port NumbersPort Numbers传输协议传输协议DataData13135200052000DataData13135200052000传输协议传输协议13135200052000客户客户ClientClient服务器服务器ServerServer…………多目标多目标并发通信并发通信55IP Address vs. Port NumberIP Address vs. Port Number1313**********. headerIP headerTransportTransportprotocolprotocolheaderheaderPortPortnumbernumberIPIPaddressaddress……ChooseChooseprocessprocessChooseChoosehosthostTransportTransportLayerLayer66IANA RangesIANA Ranges??Well-known portsWell-known ports??Assigned and controlled by IANAAssigned and controlled by IANA??Registered portsRegistered ports??Not assigned or controlled by IANANot assigned or controlled by IANA??Can only be registered with IANA to prevent duplicationCan only be registered with IANA to prevent duplication??Dynamic portsDynamic ports??Neither controlled nor registeredNeither controlled nor registered??Can be used by any processCan be used by any process001023102310
第09章 UDP协议 来自淘豆网www.taodocs.com转载请标明出处.