connection from bike/simulator to client to server
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user