Exemplo n.º 1
0
 private void client_Disconnected(object sender, NetSocketDisconnectedEventArgs e)
 {
     account.Log(new ConnectionTextInformation("Disconnected: " + e.Reason), 2);
     if (!DisconnectReasons.Contains(e.Reason))
     {
         account.TryReconnect(10);
     }
 }
Exemplo n.º 2
0
 private void local_Disconnected(object sender, NetSocketDisconnectedEventArgs e)
 {
     //this.server.Listen(5555);
 }
Exemplo n.º 3
0
 private void server_Disconnected(object sender, NetSocketDisconnectedEventArgs e)
 {
     account.Log(new ConnectionTextInformation("Disconnected: " + e.Reason), 4);
 }
Exemplo n.º 4
0
 private void local_Disconnected(object sender, NetSocketDisconnectedEventArgs e)
 {
     //this.server.Listen(5555);
 }
Exemplo n.º 5
0
 private void server_Disconnected(object sender, NetSocketDisconnectedEventArgs e)
 {
     account.Log(new ConnectionTextInformation("Disconnected: " + e.Reason),4);
 }
Exemplo n.º 6
0
 private void client_Disconnected(object sender, NetSocketDisconnectedEventArgs e)
 {
     account.Log(new ConnectionTextInformation("Disconnected: " + e.Reason), 2);
     if (!DisconnectReasons.Contains(e.Reason))
         account.TryReconnect(10);
 }