Exemplo n.º 1
0
        public Task Send(PipePacketBase pipePacket)
        {
            pipePacket.Finish();

            return(pipeClientStream.WriteAsync(pipePacket.Data, 0, pipePacket.Data.Length));
        }
Exemplo n.º 2
0
        public virtual Task Send(PipePacketBase pipePacket)
        {
            pipePacket.Finish();

            return(serverStream.WriteAsync(pipePacket.Data, 0, pipePacket.Data.Length));
        }