There are plenty of UCSPI-TCP tools.
In the following, the server program is ./service, 0.0.0.0 or ::0 are the host IP addresses, and 7777 is the port number.
There are also (not listed in this answer but documented in the various tool collections, q.v.) UCSPI-UNIX and UCSPI-LOCAL tools for AF_LOCAL sockets, tools for doing the same with FIFOs, UCSPI-SSL tools for TLS/TCP sockets, and tools for Netlink sockets.
Bernstein ucspi-tcp
In Daniel J. Bernstein's ucspi-tcp, there is tcpserver:
tcpserver -v -P -R -H -l 0 0.0.0.0 7777 \
./service
There are IPv6-capable enhanced versions of Bernstein ucspi-tcp such as Erwin Hoffman's tcpserver:
tcpserver -v -P -R -H -l 0 ::0 7777 \
./service
Bercot s6-networking
Laurent Bercot's s6-networking has s6-tcpserver4:
s6-tcpserver4 -v 0.0.0.0 7777 \
./service
and
s6-tcpserver6:
s6-tcpserver6 -v ::0 7777 \
./service
These are shims for other s6-networking tools.
nosh UCSPI tools
The nosh toolset has tcp-socket-listen and tcp-socket-accept:
tcp-socket-listen --combine4and6 :: 7777 \
tcp-socket-accept --verbose --localname 0 \
./service
It also has a
tcpserver that is just a shim for the other two and that defaults several options on:
tcpserver -v -l 0 :: 7777 \
./service
Pape ipsvd
Gerrit Pape's ipsvd has tcpsvd:
tcpsvd -v 0.0.0.0 7777 \
./service
Sampson onenetd
Adam Sampson has a onenetd:
onenetd -v :: 7777 \
./service
Further reading
- Protocol:
- toolsets:
- Daniel J. Bernstein. ucspi-tcp. cr.yp.to.
- s6-networking. Laurent Bercot. skarnet.org.
- Jonathan de Boyne Pollard (2018). nosh. Softwares.
- Jonathan de Boyne Pollard (2018). djbwares. Softwares.
- ipsvd. Gerrit Pape. smarden.org.
- onenetd. Adam Sampson. offog.org.
- reference manuals: