1 / 9

TCP/IP Networking Review

TCP/IP Networking Review. Covered Subjects : Packet Switched Network Structure Issues of PSNs Ports & IP Numbers Delivery Services Domain Name Servers Client Server Programming. Packet Switched Network. Packet switched network

Télécharger la présentation

TCP/IP Networking Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TCP/IP Networking Review CoveredSubjects: PacketSwitchedNetwork Structure Issues of PSNs Ports & IP Numbers Delivery Services Domain Name Servers Client Server Programming

  2. PacketSwitched Network • Packetswitched network • meansthat data is carried in discretecertain-sizedpackets • Analogy: Postal service C A IP Network B D

  3. Issues • Addressing • Uniqueaddressforeveryhost (IPv4 or IPv6 address) • Packet size • Max size = 216-1 = 65535 bytes • Packetforwarding • How to deliver thepackettothedestination? • Simplygivethepackettothedefaultrouter

  4. Analogy • Is this how yousendyourletterstoyourfriends? • What is missing on theaddressparts? • Thenames of thesender & receiver. • It is thepeople (applications) thatcommunicate. I willwritehomeeveryday. Love. Bob From: Bob To: Alice

  5. Ports & IPs Alice Bob IP Network A B From: Bob @ A To: Alice @ B Port # IP Address

  6. What is next? • How do youwantthepacketdelivered? • Do youwantthe ACK of delivery? • reliabledeliveryor not Delivery services: • Best effort (unreliable)  UDP • Reliable  TCP UDP : connectionless, unreliable, unordered, datagramservices TCP : connection-oriented, reliable, ordered, byte-stream

  7. IP stack & interaction portssockets SocketLayer UDP TCP (32-bit) (128-bit) IPv4 IPv6 Web Server Browser IP Network A B designated port

  8. Domain Name Server • How do youidentifythe server? www.anadolu.edu.tr DNS resolver IP address • Whatabout port #? • designated port 80 – web server port 21 – FTP servers port 23 for Telnet ….

  9. Nextquestion • Whoinitiates a transaction? • Browser -- calledtheclient • Client is theactiveentitythatinitiatesthetransaction/contact • Server is thepassiveentitythatwaitsforrequestsfromclients & sendsreplies in response. • This is whywecallthisthe «client & server» programming.

More Related