摘要:
-- using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using Syst 阅读全文
摘要:
Socket s = new Socket(..);if (s.Poll(-1, SelectMode.SelectRead)){ int nRead = s.Receive(); if (nRead == 0) { //socket连接已断开 }} 重要方法: IPAddress ip = IPA 阅读全文
摘要:
public partial class Form2 : Form { public Form2() { InitializeComponent(); } public string TextBox2Value //将外部不可访问的textBox2.Text封装成属性TextBox1Value { 阅读全文