tree: 363e845fe43707e0f80b08bb25b5da4da20edbb4 [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.