Clone this repo:

Branches

  1. 3a0ff70 Terminate if accept fails with a broken pipe. by Ian McKellar · 7 weeks ago master
  2. 0bcc88c Update MessageLoopHandler::OnHandleReady signature. by Ian McKellar · 3 months ago
  3. 96a4508 Use the non-deprecated MX_PROCESS_TERMINATED spelling by George Kulakowski · 3 months ago
  4. deba50b Use LP_CLONE_MXIO_NAMESPACE instead of LP_CLONE_MXIO_ROOT by Adam Barth · 3 months ago
  5. 060b7d8 Remove unused <sys/select.h> inclusion by George Kulakowski · 3 months 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.