示例#1
0
 private static void Server_ConnectionRemoved(object sender, ConnectionRemovedEventArgs e)
 {
     //Write some info out
     Console.WriteLine($"Client disconnected! UniqueID: {e.RemoteId}");
 }
示例#2
0
 private static void Client_ConnectionRemoved(object sender, ConnectionRemovedEventArgs e)
 {
     //Write some info out
     Console.WriteLine("Disconnected from server!");
 }