Esempio n. 1
0
 public void ExpectClosed(Tcp.ConnectionClosed expected) => ExpectClosed(close => close == expected);
Esempio n. 2
0
 private void TcpConnectionClosed(Tcp.ConnectionClosed message)
 {
     Console.WriteLine("TCP關閉連線", $" Tcp關閉連線. Message=" + message.ToString());
     ConnectToServer();  // 重連
 }