Hacker News new | ask | show | jobs
by winstonwinston 52 days ago
There is /etc/services to map port numbers to service names, and using getportbyname() to resolve port numbers.
1 comments

DNS for /etc/hosts and now vibe.local for /etc/services. What will they think of next!
SVCB DNS records

  getservbyname(3)