Beispiel #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);
 }
Beispiel #2
0
 public ServerNetworkEventHandler(ChatServerForm mainForm) : base()
 {
     IsOrderlyProcess = true;
     m_MainForm       = mainForm;
 }