>>>>> "Jeff" =3D=3D Jeff Dike <jdike@...> writes:
Jeff> How about this: port stays the same - port:9000 means port
Jeff> 9000 with INADDR_ANY
Jeff> inet takes a mandatory IPv4 address -
Jeff> inet:192.168.0.254:9000 means what you think. You can get
Jeff> port semantics with 'inet:0.0.0.0:9000'.
Jeff> inet6 (or ipv6, any preferences?) is the same, except the
Jeff> mandatory address is IPv6.
I agree with keeping inet and inet6 separate.
Here is the lsof section for specifying addresses if anyone is
An Internet address is specified in the form:
protocol is a protocol name - TCP or UDP.
hostname is an Internet host name.
hostaddr is a numeric Internet IPv4 address in
dot form; or an IPv6 numeric address in colon
form, enclosed in brackets.
service is an /etc/services name - e.g., smtp -
or list of them.
port is a port number, or list of them.
IPv6 numeric host addresses may be specified only if the U=
NIX dialect supports them.
To see if the dialect supports IPv6 addresses, run lsof and=
specify the -h or -?
(help) option. If the displayed description of the -i op=
tion contains ``IPv'',
IPv6 addresses are supported.
At least one address component - protocol, host specificati=
on, service or port speci=AD
fication - must be supplied. The `@' character, leading =
the host specification, is
always required; as is the `:', leading the port specif=
ication. Specify either
hostname or hostaddr. Specify either service name list =
or port number list. If a
service name list is specified, the protocol may also need =
to be specified if the TCP
and UDP port numbers for the service name are different=
. Use any case - lower or
upper - for protocol.
Service names and port numbers may be combined in a list wh=
ose entries are separated
by commas and whose numeric range entries are separated by =
minus signs. There may be
no embedded spaces, and all service names must belong to =
the specified protocol.
Since service names may contain embedded minus signs, th=
e staring entry of a range
can't be a service name; it can be a port number, however.
Here are some sample addresses:
TCP:25 - TCP and port 25
@188.8.131.52 - Internet IPv4 host address 184.108.40.206
@[3ffe:1ebc::1]:1234 - Internet IPv6 host address
3ffe:1ebc::1, port 1234
UDP:who - UDP who service port
TCP@... - TCP, port 513 and host name vic.cc
tcp@... - TCP, ports 1 through 10,
service name smtp, port 99, host name foo
tcp@... - TCP, ports smtp through
nameserver, host bar
:time - either TCP or UDP time service port
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now? [OK]