/// <summary>Wait for the client to connect given a timeout. (Blocking)</summary> /// <param name="timeout">Timeout in milliseconds</param> /// <exception cref="TimeoutException">Raised when the connection times out</exception> public void Connect(int timeout) { ClientPipeStream.Connect(timeout); ClientConnected(); }
/// <summary>Wait for the client to connect. (Blocking)</summary> public void Connect() { ClientPipeStream.Connect(); StartByteReader(); RaisePipeConnected(); }