mlibc
mlibc copied to clipboard
getaddrinfo() improvements
As discussed on discord there are numerous improvements to be made to our current implementation of getaddrinfo()
- [ ] Handle DNS ipv6 records
- [x] Parse
/etc/resolv.conffor the nameserver - [x] Parse
/etc/hostsand use it in name resolution - [x] Parse
/etc/servicesto implement the services part of the function - [x] Handle CNAME records correctly
- [ ] Handle hints properly
- [ ] Handle all flags properly
- [ ] Sort output list according to RFC 3484