Skip to main content

📧 Interprocess Communication

  • Estimated duration: 1 h 30

🎯 Learning Objective​

  • Learn independently using the official Microsoft documentation and others.
  • Understand interprocess communication (IPC) mechanisms on Windows and Linux/WSL.

📜 Statement​

Part 1: Introduction Video​

Watch the following video for an introduction to interprocess communication (IPC) mechanisms: IPC: To Share Memory Or To Send Messages

Part 2: Readings​

Tutorials​

Windows​

Notably the section on pipes and Windows Sockets.

Linux / WSL (POSIX IPC)​

Part 3: Practices​

Python provides several modules for interprocess communication (IPC).

The documentation for the Socket module provides examples. Run each of the examples and analyze the code to understand how interprocess communication works in Python.

tip

Unlike the example in the documentation, you will not communicate with daring.cwi.nl. What is your local IP address ... 127.?.?.? 🤔