知行合一

享受过程 漠视结果

导航

2013年1月31日 #

钩子示例

摘要: using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;using System.Reflection;using System.IO;using System.Windows.Forms;namespace WindowsApplication1{ public delegate IntPtr HookProc(int code, IntPtr wparam, IntPtr lparam); public enum HookType /... 阅读全文

posted @ 2013-01-31 10:37 项羽 阅读(216) 评论(0) 推荐(0)

tcp断开过程

摘要: Client 消息 Server close() ------ FIN -------> FIN_WAIT1 CLOSE_WAIT <----- ACK ------- FIN_WAIT2 close() <------ FIN ------ TIME_WAIT LAST_ACK ------ ACK -------> CLOSED CLOSED 阅读全文

posted @ 2013-01-31 10:31 项羽 阅读(171) 评论(0) 推荐(0)