connected to bike?

This commit is contained in:
shinichi
2020-09-23 14:12:33 +02:00
parent cdaac839b9
commit 5f7f1c8510
2 changed files with 22 additions and 10 deletions

View File

@@ -12,18 +12,9 @@ namespace Client
private NetworkStream stream; private NetworkStream stream;
private byte[] buffer = new byte[1024]; private byte[] buffer = new byte[1024];
private int bytesReceived; private int bytesReceived;
private bool connected = false;
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
//connect fiets?
Client client = new Client();
while (true)
{
}
}
public Client() : this("localhost", 5555) public Client() : this("localhost", 5555)
{ {

21
Client/Program.cs Normal file
View File

@@ -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)
{
}
}
}
}