Refactor code

This commit is contained in:
Christian Kratky
2017-09-19 23:05:41 +02:00
parent 651f0aa15c
commit 305578e7e6
4 changed files with 9 additions and 18 deletions
@@ -54,8 +54,8 @@ namespace MQTTnet.Implementations
await _socket.ConnectAsync(new HostName(options.Server), options.GetPort().ToString(), SocketProtectionLevel.Tls12);
}
ReceiveStream = _socket.InputStream.AsStreamForRead();
SendStream = _socket.OutputStream.AsStreamForWrite();
ReceiveStream = _socket.InputStream.AsStreamForRead();
RawReceiveStream = ReceiveStream;
}