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