1 # [ADDR:]service_name must be in /etc/services, or port number
2 # socket_type stream/dgram/raw/rdm/seqpacket
4 # wait/nowait[.max] wait is usually for udp, nowait for tcp
5 # max: max copies to run
6 # user[.group] or user[:group] user and group to run under
7 # binary program to run
8 # arg0 arg1 arg2... arguments, INCLUDING program name (arg0)
10 # serv socket pro w/nw user binary args
13 555 dgram udp6 wait root echo echo Hello IPv6 udp world
14 # ...with ADDR prefix:
15 ::1:444 stream tcp6 nowait root echo echo Hello IPv6 localhost
17 # Rarely seen case: tcp *wait* service
18 telnet stream tcp wait root telnetd telnetd -w10