Course Introduction

CSE312 — Web Development

The Internet

Networks, TCP/IP

Local Area Network (LAN)

Connect a small group of devices

TODO: describe this image

Internet Service Provider (ISP)

Connect customers to The Internet

TODO: describe this image

Tier 1 Networks

The Internet

TODO: describe this image

Data Centers Power Apps

TODO: describe this image

It’s all Cables!

TODO: describe this image

How do we use these cables?

Internet Protocol

Internet Protocol (IP) Address

  • Every device has an IP Address
    • Use this address to send messages to that device
    • Ex: 172.217.12.211
  • Use DNS (Domain Name Server) to lookup IP address by domain name

IP address for cse312.com?

159.89.179.140

TODO: describe this image

Data is sent over the Internet in packets/datagrams

Large messages are sent in multiple packets

TODO: describe this image

Routing Packets

  1. Check the destination IP address of the packet
  2. Send the packet to the next router on its path
  3. Fuhgettaboutit

TODO: describe this image

The Internet is Unreliable

Many factors cause packets to be dropped

TODO: describe this image

Transmission Control Protocol

Transmission Control Protocol (TCP)

Makes the Internet reliable

  • Detect and resend dropped packets
  • Adds port numbers to identify specific programs
  • Connect to a port number/IP address combination (TCP/IP)
    • 127.0.0.1:8080

TCP 3-way Handshake

TODO: describe this image

TCP/IP in CSE312

  • Use libraries to do all this for us
  • Assume TCP/IP works and that we have reliable communication over the Internet
  • Freely send and receive messages (As bytes)
  • Your code (HW) will start with HTTP
  • Much deeper TCP/IP coverage, and more, in CSE489: Modern Networking Concepts!

Further Reading