connection from bike/simulator to client to server

This commit is contained in:
shinichi
2020-09-23 15:05:09 +02:00
parent d5eadbe529
commit c782301cf2
4 changed files with 18 additions and 3 deletions

View File

@@ -92,12 +92,13 @@ namespace Client
throw new NotImplementedException();
}
}
this.stream.BeginRead(this.buffer, 0, this.buffer.Length, new AsyncCallback(OnRead), null);
}
private void OnWrite(IAsyncResult ar)
{
this.stream.EndWrite(ar);
Console.WriteLine("wrote some stuff");
}
#region interface