2017年7月19日

Packing data with Python

摘要: Defining how a sequence of bytes sits in a memory buffer or on disk can be challenging from time to time. Since everything that you’ll work with is a 阅读全文

posted @ 2017-07-19 13:55 lakeone 阅读(255) 评论(0) 推荐(0) 编辑

常用的 TCP KeepAlive 参数

摘要: 转自:http://dola.xinfan.org/?p=359 我们知道 TCP 协议有检测连接状态的机制,当连接不活跃的时候,连接双方会通过一定的算法检测连接是否正常。这个机制就是 TCP 的 KeepAlive 算法。 如果不使用 KeepAlive 算法检测连接状态,会导致单方面断开连接后, 阅读全文

posted @ 2017-07-19 11:07 lakeone 阅读(5477) 评论(0) 推荐(0) 编辑

导航