News for hackers. Stuff that matters.
Re:Regexper – Regular expressions visualizer by kazinator on Tuesday January 30, 2018 @06:11PM (#16269956)
I don't see the problem. Though not a host address, that's known in the sockets networking API as INADDR_ANY, useful for binding a socket to listening on all networks, for instance.

The GNU C Library getaddrinfo accepts 000.000.000.000 with the leading zeros and all; I just tried.

It is important to support special addresses like 255.255.255.255 and 0.0.0.0 in the dot notation. For instance, in the configuration of some daemon, you may need to be able to specify that the bind address is 0.0.0.0. The value can't be rejected due to not being an address.

Also, you need to be able specify network as opposed to host addresses, and netmasks. You know, like 10.0.0.0 and so on.

There are no comments on this comment yet.