大家是否遇到过这样的问题,W5500作为服务器已经建立连接,突然网线掉了,然后再去连接W5500,就连不上了。为什么?下面对这个问题进行解释说明,并提出解决办法。 图1中的上位机程序作为客户端,连接W5500服务器。 图2是对这个问题的wireshark抓包说明。其中192.168.11.1...
分类:
其他好文 时间:
2014-12-11 11:52:30
阅读次数:
297
IF --Rudyard Kipling
If you can keep your head when all about you
Are losing theirs and blaming it on you,
If you can trust yourself when all men doubt you
But make allowance for their doubting to...
分类:
其他好文 时间:
2014-12-11 10:24:45
阅读次数:
155
KISS、DRY、MVC、OOP、REST (1)KISS是指Keep It Simple,Stupid(摘自wikipedia),指设计时要坚持简约原则,避免不必要的复杂化。 (2)DRY是指Don't Repeat Yourself(摘自wikipedia),特指在程序设计以及计算中避免重复代码...
分类:
Web程序 时间:
2014-12-08 17:24:47
阅读次数:
200
One thing you need to keep in mind is that when using os.chdir to change the working directory of current programme (script), make sure if we need to ...
分类:
编程语言 时间:
2014-12-08 15:24:51
阅读次数:
222
To easily select only the items you want for the checkout and force the resulting working copy to keep only those items, click theChoose items...butto...
分类:
其他好文 时间:
2014-12-06 19:30:19
阅读次数:
135
【转自 http://blog.csdn.net/forever_crazy/article/details/6544830】需求: 有时写程序的时候,需要给某个动态变量 赋值操作,当字段比较多时,如果用常规方法赋值 就会显得代码很冗余,其实可以用变量的间接寻址赋值。ex1:data c1 type...
分类:
其他好文 时间:
2014-12-04 19:42:15
阅读次数:
698
【转自 http://blog.csdn.net/forever_crazy/article/details/6542507】report ......selection-screen pushbutton 2(10) pb11 user-command pb11.selection-screen ...
分类:
移动开发 时间:
2014-12-04 19:34:34
阅读次数:
220
点击打开链接
题意:输入N,表示有N个点,
要求:
1.任意两点的距离≤ 1.0
2.每个点与原点的距离≤1.0
3.有N对点间的距离=1.0
4.N个点形成的面积≥0.5 ≤0.75
可以先取一个以原点为顶点,另外两个点在单位圆上的正三角形
其他的点就在圆弧BC上
将BC等分
而且N==4时 第四个点必须要在BC中点上
#include
#include...
分类:
其他好文 时间:
2014-12-03 21:29:39
阅读次数:
124
1:where和If最本质的区别,以及一些小的区别1.1:The WHERE statement examines what is in the input page buffer and selectsobservations before they are loaded in the progr...
分类:
其他好文 时间:
2014-11-30 15:22:33
阅读次数:
380
public static function cn_truncate($string, $strlen = 20, $etc = '...', $keep_first_style = false, $charset = 'utf-8') { $slen = mb_strlen($...
分类:
其他好文 时间:
2014-11-28 18:01:58
阅读次数:
190