06 2015 档案
摘要:#include #include #include #include #include #include #include int main(int argc, char* argv[]){ int fd = socket(AF_INET, SOCK_STREAM, 0); if(fd...
阅读全文
摘要:#include #include #include #include #include #include #include /**C通过http协议获取网页内容*/struct sockaddr_in* getSockaddrByName2(char* name){ struct socka...
阅读全文
摘要:1 #include 2 #include 3 #include 4 5 /* 6 *用法:main www.baidu.com 7 */ 8 9 int main(int argc, char* argv[])10 {11 char* name;12 if(argc >...
阅读全文
摘要:源码分析一般都是从main函数开始的,但我还是觉得首先把程序关键的数据结构介绍下,这样看fpm源码会更容易理解。 废话不多说,直接上fpm中最关键的数据结构定义。 1 /* $Id: fpm.h,v 1.13 2008/05/24 17:38:47 anight Exp $ */ ...
阅读全文
摘要:如前所述,web应用程序类装入器的发散 默认的Java授权模型(按照建议的 Servlet规范,版本2.4,部分9.7.2 Web应用程序类加载器)。 当一个请求加载 从web应用程序的类WebappX类装入器处理, 这类加载器将在本地存储库第一个, 而不是委托前看。 也有例外。 类的 JRE不能覆...
阅读全文
摘要:1:在编译nginx之前要把编译依赖的库和头文件安装好,所需的库就是下面几个openssl,pcre,zlib几个库 2:下载nginx和nginx-echo源代码。 3:./configure \ --prefix=/home/m/workspace/build/nginx \ --s...
阅读全文

浙公网安备 33010602011771号