コード例 #1
0
ファイル: Client.cs プロジェクト: NeilKey/ChatServer3AC
 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;
 }