2 ms·
Documentation never manages to stay up-to-date, so perhaps you could use some sort of Service Discovery Protocol to map these semi-arbitrary numbers to more mem
by icebraining 12y ago
Documentation never manages to stay up-to-date, so perhaps you could use some sort of Service Discovery Protocol to map these semi-arbitrary numbers to more memorable names.
That already exists, it's called getservbyname(). It gets the mapping from /etc/services, which would also serve as reliable documentation (since it's "executable", in a sense).