Leonid Evdokimov
2f00cf44c5
Added dnstc service that serves any UDP DNS-like request with TC flag.
...
TC flag means `truncated`, so it actually means "ask me via TCP" for
compliant resolver.
2011-09-22 03:25:26 +04:00
Leonid Evdokimov
79e22a67fa
Change license to Apache 2.0 to ensure compatibility with android stack.
2011-04-20 20:17:09 +03:00
Leonid Evdokimov
9bcb4dcc7e
Fix compilation at OpenBSD 4.9.
2011-02-10 00:02:05 +02:00
Przemyslaw Pawelczyk
91da237590
getsockopt wants optlen to be socklen_t.
...
Remove warning regarding optlen being size_t.
BTW:
- size_t is at least 16-bit unsigned integral type,
- socklen_t is at least 32-bit signed integral type.
It obviously doesn't matter here, because sizeof(int) fits in 4 bits.
2011-01-27 22:14:58 +01:00
Leonid Evdokimov
8ad8d7eb41
More source code cleanup.
2010-11-27 23:20:46 +02:00
Leonid Evdokimov
c50dd8b2b4
Some source code cleanup.
2010-11-27 21:57:43 +02:00