Connect new tab

This commit is contained in:
fabjuuuh
2020-10-07 14:56:04 +02:00
parent aea1b4fce4
commit acbe3e9d55
8 changed files with 59 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Net.Sockets;
using System.Text;
@@ -55,7 +55,7 @@ namespace Client
this.stream = this.client.GetStream();
tryLoginDoctor("hi","hi");
tryLogin();
this.stream.BeginRead(this.buffer, 0, this.buffer.Length, new AsyncCallback(OnRead), null);
}
@@ -94,7 +94,7 @@ namespace Client
if (responseStatus == "OK")
{
this.connected = true;
initEngine();
//initEngine();
}
else
{

View File

@@ -4,6 +4,7 @@ using Hardware.Simulators;
using RH_Engine;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
namespace Client
{
@@ -14,6 +15,7 @@ namespace Client
Console.WriteLine("Hello World!");
//connect fiets?
Thread.Sleep(20000);
Client client = new Client();