mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-14 21:24:58 +00:00
Aanpassingen autoupdate & async code
This commit is contained in:
@@ -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");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user