Clone this repo:

Branches

  1. 0bcc88c Update MessageLoopHandler::OnHandleReady signature. by Ian McKellar · 10 days ago master
  2. 96a4508 Use the non-deprecated MX_PROCESS_TERMINATED spelling by George Kulakowski · 3 weeks ago
  3. deba50b Use LP_CLONE_MXIO_NAMESPACE instead of LP_CLONE_MXIO_ROOT by Adam Barth · 4 weeks ago
  4. 060b7d8 Remove unused <sys/select.h> inclusion by George Kulakowski · 4 weeks ago
  5. eb26897 Don't dump stack when there's no network by Ian McKellar · 5 weeks ago

listen

This implements a simple program that listens for connections on a particular TCP port and spawns a program for each connection. Connecting the socket to mxio stdin and passing the parent's stdout & stderr.

It's currently not possible to pass the socket as more than one start-up handle.