Add ttdnsd source
Add ttdnsd unit test. Encapsulate DNS server as C++ class
Pass unit test in Linux
Run DNS as detached pthread and create DNS server in singleton pattern
Rename Obj-C to Obj-C++ for calling C++ class. Add pthread in DNS server
Fix unit test. Override perror
Add stop DNS server feature by sending magic string to DNS port.
Add errno in bind
Fix busy loop in sending DNS request.
Fix HAVE_COCOA cmake flag
Fix nonblocking TCP connect and add DNS stop feature
Fix unit test input argument.
Update README for github
Add DNS state
Wrap nonblocking write.
Add time out parameter