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