diff --git a/Client/Client.cs b/Client/Client.cs index bcbdea9..3f6eac0 100644 --- a/Client/Client.cs +++ b/Client/Client.cs @@ -12,18 +12,9 @@ namespace Client private NetworkStream stream; private byte[] buffer = new byte[1024]; private int bytesReceived; - - static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - //connect fiets? + private bool connected = false; - Client client = new Client(); - while (true) - { - } - } public Client() : this("localhost", 5555) { diff --git a/Client/Program.cs b/Client/Program.cs new file mode 100644 index 0000000..3043651 --- /dev/null +++ b/Client/Program.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Client +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello World!"); + //connect fiets? + + + Client client = new Client(); + while (true) + { + } + } + } +}