tree: c67e20109eb9fbcd598ca4238802276fbc51b9c4 [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. listen.cc
  4. README.md
bin/listen/README.md

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 fdio stdin and passing the parent's stdout & stderr.

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