servalproject / serval-dna

The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
http://servalproject.org
Other
171 stars 80 forks source link

Asynchronous DNS resolution #41

Open lakeman opened 11 years ago

lakeman commented 11 years ago

A directory service can be configured with a dns name (see #18). But this call might block. Move this name resolution to a worker thread or find an asynchronous dns library to include. This will also involve adding a state model for dealing with the results in an asynchronous manner.