示例#1
0
 public Client(ChatServerForm csf, Socket socket)
 {
     this.socket = socket;
     this.buffer = new byte[Client.BufferSize];
     this.csf = csf;
     this.protocol = new ChatProtocol(this);
 }
示例#2
0
 public ServerNetworkEventHandler(ChatServerForm mainForm) : base()
 {
     IsOrderlyProcess = true;
     m_MainForm       = mainForm;
 }