摘要:
protected override void WndProc(ref Message m) { const int WM_SYSCOMMAND = 0x0112; const int SC_CLOSE = 0xF060; if (m.Msg == WM_SYSCOMMAND... 阅读全文
摘要:
var Listener = new TcpListener(IPAddress.Any, port);Listener.AllowNatTraversal(true); // 在WIN8中调试没问题,在XP下报异常,注释掉该句即可 阅读全文