1 function getRealIp() { 2 if
(getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"),
"unknown")) 3 $ip = getenv("HTTP_C...
分类:
Web程序 时间:
2014-04-30 01:42:33
阅读次数:
422
voip带宽计算VOIP计算方法与所选用的编码方法有关,而与哪个厂家的没有什么关系,公式如下:带宽=包长度×每秒包数=包长度×(1/打包周期)=(Ethernet头+IP头+UDP头+RTP头+有效载荷)×(1/打包周期)=(208bit
+160bit+64bit+96bit +有效载荷)×(1/...
分类:
其他好文 时间:
2014-04-30 01:18:55
阅读次数:
711
--setgithubproxygitconfig--globalhttp.proxyhttp://user_name:user_pwd@user_ip:portgitconfig--systemhttp.sslcainfo/bin/curl-ca-bundle.crt--cancelproxygi...
分类:
其他好文 时间:
2014-04-30 01:13:49
阅读次数:
507
开发板使用ntpdate 进行网络时间同步 用法 ntpdate ip 出现如下错误 ntpdate
-u ipError resolving ai_socktype: Servname not supported for ai_socktype (-8) 1
Jan 01:44:12 ntpda....
分类:
系统相关 时间:
2014-04-29 23:36:24
阅读次数:
1440
// 题意: // 输入两个整数N, H,按照字典序输出所有长度为N,恰好包含H个1的01串
// 规模:1#include#include#include#includeusing namespace std;int n,h;int
buf[16];void solve(int c0, int c...
分类:
其他好文 时间:
2014-04-29 23:19:55
阅读次数:
416
http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Netfilter-packet-flow.svg/1450px-Netfilter-packet-flow.svg.pnghttp://en.wikipedia.org/wiki/Ip...
分类:
其他好文 时间:
2014-04-29 22:18:28
阅读次数:
512
题目地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=82AC代码:讲解,先统计在可搜索范围内对应的钥匙数,把搜到的门存到另外的一个队列中,第一个搜索结束后,开始看搜到的钥匙能否打看门,
如果能打看门,存到第一个队列中,在进行搜寻,知道找到宝藏,...
分类:
其他好文 时间:
2014-04-29 22:12:16
阅读次数:
550
1) 获取远程主机的端口信息和识别主机操作系统(Get info about remote host
ports and OS detection)nmap -sS -P0 -sV -O 可以是独立IP, 一个主机名 或一个子网-sS TCP
SYN扫描(也叫半开或隐蔽扫描)-P0 选项允许你...
分类:
其他好文 时间:
2014-04-28 01:10:16
阅读次数:
650
Page 30Perceptual blocks are obstacles that
prevent the problem-solver from clearly perceiving either the problem itself or
the information needed to ...
分类:
其他好文 时间:
2014-04-28 00:54:37
阅读次数:
403
在OSI体系中,该层位于第二层,从下到上依次:物理层,数据链路层,网络层,运输层,会话层,表示层,应用层。在TCP/IP体系中,该层位于第一层,从下到上依次:网络接口层,网际层,运输层,应用层。在这层中,涉及到最重要的知识点1
帧的格式2 差错检验3 碰撞检测4 帧的长度问题MAC帧的格式6字节:目...
分类:
其他好文 时间:
2014-04-28 00:21:12
阅读次数:
614