Skip to content

Simpler DNS interface needed #17

@schveiguy

Description

@schveiguy

The current DNS lookup interface is clunky to say the least. You need to pass in a callback that is immediately called. Much better to return a struct.

I'd recommend one of 2 things:

  1. Keep the clunky interface, but add a wrapper that provides a resulting GC array of lookup addresses.
  2. Instead of a callback, return a range that frees whatever resources it needs to when it's destroyed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions