15-213 Introduction to Computer Systems
Lecture 22: Network Programming

  • Reading: Ch 12.4
  • Slides: 22-network
  • Multimedia/Video: 22-network
  • Concepts:
    • Creating sockets (socket)
    • Binding ports to sockets (bind)
    • Listening sockets (listen)
    • Accepting connections (accept)
    • Connecting to server (connect)
    • Well-known ports and services
    • Ephemeral ports
  • Previous lecture: Internetworking
  • Next lecture: Concurrency