URAL 2003. Simple Magic(数学啊 )...
分类:
其他好文 时间:
2015-02-11 20:39:10
阅读次数:
151
导出所有库mysqldump-uroot-p123456--all-databases>all_databases.sql导入所有库mysql-uroot-p123456<all_databases.sql导数据要注意的问题:1、ERROR2006(HY000):MySQLserverhasgoneaway这个一般发生在导入过大的SQL表时,mysql失去响应解决办法:max_allowed_packet=1..
分类:
数据库 时间:
2015-02-11 18:50:20
阅读次数:
165
昨天想着备份数据库,但是没有成功,错误原因是#Got errno 28 on write查到是因为磁盘空间不足或者mysql设置中max_allowed_packet变量设置过小在mysql命令行中使用#set global max_allowed_packet = 2*1024*1024*10。将...
分类:
数据库 时间:
2015-02-11 15:59:47
阅读次数:
234
http://blog.csdn.net/pkutao/article/details/8572216{ok, Listen} = gen_tcp:listen(?defPort, [binary, {packet, 2},{reuseaddr, true},{active, true}]),%ge...
分类:
其他好文 时间:
2015-02-11 15:55:18
阅读次数:
669
使用Python来写网络包探嗅器(Code a network packet sniffer in python for Linux) by Silver Moon Basic Sniffer Sniffers are programs that can capture/sniff/detect network traffic packet by packet an...
分类:
编程语言 时间:
2015-02-11 11:09:14
阅读次数:
215
在处理mysql和GET、POST的数据时,常常要对数据的引号进行转义操作。PHP中有三个设置可以实现自动对’(单引号),”(双引号),\\(反斜线)和 NULL 字符转移。PHP称之为魔术引号,这三项设置分别是magic_quotes_gpc影响到 HTTP 请求数据(GET,POST 和 COO...
分类:
Web程序 时间:
2015-02-10 10:36:01
阅读次数:
153
4.2.3 Fragmentation and Reassembly
IP的MTU是65536bytes;而Ethernet的MTU为1518bytes,所以需要分片,而router可能会对packet再次分片。
注意:分片的payload部分一定是8bytes的倍数。
属于同一个packet的所有分片的identifier field(位于IP header)的值相同,在flags fie...
分类:
其他好文 时间:
2015-02-09 11:07:29
阅读次数:
285
Problem Description
As a unicorn, the ability of using magic is the distinguishing feature among other kind of pony. Being familiar with composition and decomposition is the fundamental course ...
分类:
移动开发 时间:
2015-02-06 21:52:01
阅读次数:
226
由于数据量最近疯长,查询时候出现如下错误提示:com.mysql.jdbc.PacketTooBigException:Packetforqueryistoolarge(2054817>1048576).Youcanchangethisvalueontheserverbysettingthemax_allowed_packet意思是说查询mysql数据库时候返回查询结果过大,超过了msql设置的上线解..
分类:
数据库 时间:
2015-02-06 19:08:10
阅读次数:
339
4.2.2 IP Packet Format
有很多资料都在介绍ip header,所以我只介绍一些需要注意的field。
Header Length:仅仅是IP header的长度,是4字节的倍数,如果没有options,则为20bytes。
Type of Service (TOS):根据RFC791 和 1349定义如下图:
而RFC 2474 定义前六个bi...
分类:
其他好文 时间:
2015-02-06 11:25:38
阅读次数:
196