Shreyas’ Notes

Introduction to Computer Networks

COMP 429

spring, junior year

DNS Query: (name, type)

Resource record: (name, value, type, TTL)

Types:

DNS §

Socket API §

Client:

  1. socket
  2. connect
  3. send, recv
  4. close

Server:

  1. socket (creates fd)
  2. bind
  3. listen
  4. accept upon receiving connections (creates another fd)
  5. send, recv
  6. close