lecture in color

Case study: IPC

Inter-process communication

Parts of IPC

First, the basics of processes


Responding to signals

Signal Handler caveats

Responding to CHLD

Special handlers:

Process groups:

Handling HUP for daemons

Creating a daemon

Step 2: understanding advanced file I/O

Fancy opens

What's going on inside |- and -|

Burning the candle at both ends

Recall (from last time)

What's happening in fancy IPC

Step 3: understanding client-server programming

A simple time-of-day server

Parts of a "server"

Parts of a "client"


Object-oriented IPC

A simple locking server

Monstrous hack: a web server in perl

Getting real:

A realistic server

Inside webauth

Caveat on daemon writing

lecture in color

downloaded on Apr-27-2017 10:47:37 AM,
was last modified on Dec-31-1969 07:00:00 PM.

All lecture note content is copyright 2003 by
Alva L. Couch, Computer Science, Tufts University
(couch at cs dot tufts dot edu)