tomerfiliba / microactor

microactor - Untwist your Code!
11 stars 2 forks source link

DNS queries #10

Closed tomerfiliba closed 13 years ago

tomerfiliba commented 13 years ago

implemented by queuing to thread pool. implementing a DNS client is too complicated (not the protocol itself, but figuring the nameservers per OS is too much code). gethostbyname does the trick, and it's best to just defer it to a thread.