摘要:
同步方式中的断网时connect的阻塞时间为20秒左右,可采用gethostbyaddr事先判断到服务主机的路径是否是通的,或者先ping一下对方主机的IP地址。 A、采用gethostbyaddr阻塞时间不管成功与否为4秒左右。 例子: Code Code highlighting pr... 阅读全文
posted @ 2009-04-13 23:39
狼窝
阅读(730)
评论(0)
推荐(0)
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 struct Date {2unsignednWeekDay:3;//0..7(3bits... 阅读全文
posted @ 2009-04-13 13:04
狼窝
阅读(181)
评论(0)
推荐(0)
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 c... 阅读全文
posted @ 2009-04-13 13:01
狼窝
阅读(164)
评论(0)
推荐(0)
浙公网安备 33010602011771号