tree: 93ed95610c23f172bcb8c70dd24d11a0c7de002d [path history] [tgz]
  1. BUILD.gn
  2. listen.cc
  3. 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.