Well as the title says how can i detect a disconnect with ‘ReceiveAsync’ with all other .net network patterns you could just look if you recived 0 bytes or if any exception was throw however this does not seem to be true any more with this pattern…
My first recive return 0 bytes but the second works thats why im confused….
It’s just the same: