Aanpassingen autoupdate & async code

This commit is contained in:
Fre
2020-07-08 11:16:00 +02:00
parent f1ceaa208e
commit 4e9de2abfa
12 changed files with 404 additions and 29 deletions

View File

@@ -23,6 +23,14 @@ namespace ElectronNET.API
{
Console.WriteLine("BridgeConnector connected!");
});
_socket.On(Socket.EVENT_CONNECT_ERROR, (args) =>
{
Console.WriteLine("Socket error! {0}", args??"no args");
});
_socket.On(Socket.EVENT_DISCONNECT, (args) =>
{
Console.WriteLine("Socket Disconnect! {0}", args ?? "no args");
});
}
}
}