Esempio n. 1
0
        /// <summary>Wait for the client to connect</summary>
        /// <param name="timeout">Timeout in milliseconds</param>
        /// <returns>A task that represents the asynchronous connect operation.</returns>
        public async Task ConnectAsync(int timeout)
        {
            await ClientPipeStream.ConnectAsync(timeout);

            ClientConnected();
        }
Esempio n. 2
0
        /// <summary>Wait for the client to connect</summary>
        /// <returns>A task that represents the asynchronous connect operation.</returns>
        public async Task ConnectAsync()
        {
            await ClientPipeStream.ConnectAsync();

            ClientConnected();
        }