Skip to main content
  1. /classes/
  2. Classes, Fall 2025/
  3. CS 2010 Fall 2025: Course Site/

cs2010 Notes: 11-17 The Webernets

·84 words·1 min·

The Internet and The Web
#

  • Browser
  • Address bar
  • Host name
  • DNS lookup
  • IP address
  • IP packets; unreliable, unordered
  • TCP port
  • TCP connection
  • How reliable and ordered?
  • HTTP request / response
  • HTTPs - Digital signatures, just like with SSH

ComputerCraft HTTP Client
#

local args = { ... }
if #args ~= 1 then
 print("Needs an argument")
 return
end

local req = http.get(args[1])
-- readLine returns a line or nil
print(req.readAll())
req.close()

Now let’s build a program that follows instructions from a file online.

Nat Tuck
Author
Nat Tuck