public void Run(ConnectionAction action) { tcpClient.Connect(IP, PORT); Console.WriteLine("Connected to server!"); WaitForOKSignal(); action.Invoke(_socket); }
public override void Connected() { ConnectionAction?.Invoke(); }
public void Connected() { ConnectionAction?.Invoke(); }