
网络协议
文章平均质量分 81
newyf_cun
do what you want
展开
-
TCP连接图,保存了以后看
转载 2012-09-14 16:27:38 · 397 阅读 · 0 评论 -
tuxedo学习
http://blog.sina.com.cn/s/blog_62e8beb70100k3j4.html转载 2012-09-14 17:26:45 · 390 阅读 · 0 评论 -
setsockopt使用总结。
1. socket设置选项总结:用法: #include #include int getsockopt(int sock, int level, int optname, void *optval, socklen_t *optlen);int setsockopt(int sock, int level, int optname, const void *optval,原创 2012-10-16 10:47:13 · 1776 阅读 · 0 评论 -
运行脚本CGI
1. python执行cgi功能#!/home/python/tools/python2.7.2/bin/pythonprint "Content-type: text/html\n"print "This python test page" 2. tcl执行cgi#!/bin/sh#\. run_cgi_env#\exec tclsh "$0" "$@"puts原创 2012-10-17 14:28:55 · 457 阅读 · 0 评论 -
apache学习
1. 用户认证创建口令文件 htpasswd -c /x/y/z/paswd user1htpasswd /x/y/z/paswd user2配置httpd.confAuthType BasicAuthName "Please login:"AuthUserFile /x/y/z/pswdRequire user user1 user2 2. 增加虚拟目录t原创 2012-10-18 12:26:55 · 526 阅读 · 0 评论 -
asn.1编码学习
0. ASN.1的编码规则: 8 7 6 5 4 3 2 1 + Length + Content -------------------------------------------------------------------------|Class |X | Tag |原创 2013-10-25 10:23:37 · 1679 阅读 · 0 评论