aboutsummaryrefslogtreecommitdiff
path: root/man/man8/listen1.8
blob: 98f560f3217ef4e17af8d4eb3cc507e1ae587885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.TH LISTEN1 8
.SH NAME
listen1 \- listen for calls on a network device
.SH SYNOPSIS
.PP
.B aux/listen1
[
.B -v
]
.I addr
.I cmd
[
.I args...
]
.SH DESCRIPTION
.PP
.I Listen1
is a lightweight listener intended for personal use,
modeled from Inferno's
.IR listen (1).
It
announces on
.IR address ,
running
.I cmd
.I args...
for each incoming connection;
the network directory is passed in the environment
as
.BR $net .
The
.B -v
flag causes verbose logging on standard output.
.SH SOURCE
.B \*9/src/cmd/listen1.c
.SH "SEE ALSO"
.MR dial (3)