added back buffering for .net and annotated ifdefs with minimum dependency tor remove them

This commit is contained in:
JanEggers
2017-10-15 10:16:26 +02:00
parent a2971aa03b
commit 60bdca8716
2 changed files with 35 additions and 8 deletions
@@ -88,6 +88,7 @@ namespace MQTTnet.Implementations
{
try
{
//todo: else branch can be used with min dependency NET46
#if NET45
var clientSocket = await Task.Factory.FromAsync(_defaultEndpointSocket.BeginAccept, _defaultEndpointSocket.EndAccept, null).ConfigureAwait(false);
#else