- 授权协议: BSD
- 开发语言: C/C++
- 操作系统: Linux
- 软件首页: http://code.google.com/p/tiny-dns-resolver/
软件介绍
众所周知,Unix/Linux系统下面gethostbyname()是内核调用而且是同步的,就是说当多线程程序都要进行DNS解析时,同时只能有一 个线程在执行gethostbyname()代码,其他线程在函数外等待。当多线程/进程进行大量DNS解析时,如果还调用 gethostbyname()方法,显然会成为程序的一个瓶颈。所以我编写一个DNS解析程序,很简单就是基于UDP利用DNS协议发送和解析DNS 包。由于代码工作在操作系统的用户态达到了并行异步的效果。
The Apache Modules Book
Nick Kew / Prentice Hall PTR / 2007-02-05 / USD 54.99
"Do you learn best by example and experimentation? This book is ideal. Have your favorite editor and compiler ready-you'll encounter example code you'll want to try right away. You've picked the right......一起来看看 《The Apache Modules Book》 这本书的介绍吧!
