上一页 1 ··· 201 202 203 204 205 206 207 208 209 ··· 430 下一页

2013年7月23日

HTTP状态码(HTTP Status Code)

摘要: 一些常见的状态码为: 200 – 服务器成功返回网页 404 – 请求的网页不存在 503 – 服务不可用 1xx(临时响应) 表示临时响应并需要请求者继续执行操作的状态代码。 代码 说明 100 (继续) 请求者应当继续提出请求。 服务器返回此代码表示已收到请求的第一部分,正在等待其余部... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(85) 评论(0) 推荐(0)

python中string的操作函数

摘要: 在python有各种各样的string操作函数。在历史上string类在python中经历了一段轮回的历史。在最开始的时候,python有一个专门的string的module,要使用string的方法要先import,但后来由于众多的python使用者的建议,从python2.0开始, strin... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(84) 评论(0) 推荐(0)

NS2网络模拟(7)-homework03.tcl

摘要: 1: #NS2_有线部分\homework03.tcl 2: 3: #Create a simulator object 4: set ns [new Simulator] 5: 6: #Define different colors for data flo... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(102) 评论(0) 推荐(0)

NS2网络模拟(6)-homework02.tcl

摘要: 1: #NS2_有线部分\homework02.tcl 2: 3: #Create a simulator object 4: set ns [new Simulator] 5: 6: #Define different colors for data flo... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(143) 评论(0) 推荐(0)

NS2网络模拟(5)-homework01.tcl

摘要: 1: #NS2_有线部分\homework01.tcl 2: 3: #创建两个结点,深圳到北京的TCP连接,图形将数据显示出来,计算吞吐率,画图分析 4: #tcp上层用ftp 5: #udp上层用cbr 6: #Create a simulator objec... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(121) 评论(0) 推荐(0)

NS2网络模拟(4)-吞吐率图

摘要: 1: #NS2_有线部分\ForGnuplot.plot 2: 3: #gnuplot> 4: #set xtics 0, 1, 10 5: set grid 6: set xrange [0:10] 7: set yrange [0:1000] 8... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(85) 评论(0) 推荐(0)

NS2网络模拟(3)-吞吐率

摘要: 1: #NS2_有线部分\Throughput.awk 2: 3: BEGIN { 4: #Initialize the variable 5: init = 0; 6: i = 0; 7: } 8: 9: { 1... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(96) 评论(0) 推荐(0)

NS2网络模拟(2)-丢包率

摘要: 1: #NS2_有线部分\LossRate.awk 2: 3: BEGIN { 4: #Initialize the variable 5: Lost = 0; #the Sum of Lost packet 6: Send =... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(308) 评论(0) 推荐(0)

NS2网络模拟(1)-延迟

摘要: 1: #NS2_有线部分\EndDelay.awk 2: 3: BEGIN { 4: #Initialize the variable 5: MaxID = 0; 6: i = 0; 7: } 8: 9: { ... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(106) 评论(0) 推荐(0)

IP地址的正则表达式

摘要: 关键字:IP地址 正则表达式作者:txw1958出处:http://www.cnblogs.com/txw1958/archive/2011/10/13/ip_address_regular_expression.html IP地址的长度为32位,分为4段,每段8位,用十进制数字表示,每段数字... 阅读全文

posted @ 2013-07-23 17:04 岚之山 阅读(173) 评论(0) 推荐(0)

上一页 1 ··· 201 202 203 204 205 206 207 208 209 ··· 430 下一页

导航