Closed OceanAirdrop closed 7 years ago
Added you as collab if you're willing to merge and address the issue that's currently open on this. Thanks!
Thank you Brandon. Yes, not a problem. Will review changes again then merge. Cheers.
Can we get this merged and an updated Nuget?
@OceanAirdrop can you still do this?
Hi. Yes, I can still do this. I am still on holiday and only checking email sporadically. No access to my computer but will look into this next week.
On 24 Aug 2017 18:36, "Brandon Potter" notifications@github.com wrote:
@OceanAirdrop https://github.com/oceanairdrop can you still do this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BrandonPotter/SimpleTCP/pull/16#issuecomment-324704639, or mute the thread https://github.com/notifications/unsubscribe-auth/ALxuEPYN1ysSPKt_GLPU2ituHVbK-sjIks5sbbSKgaJpZM4OVmS2 .
Hi Brandon,
I have a fix for the ClientDisconnected event not being triggered. Its a small fix. Essentially it moves your test for "clients that have been disconnected" from the bottom of the "connected clients" loop to the top (above the continue statement).
Next, I used the power of stack overflow to come up with a simpler helper function "IsSocketConnected" that does a couple of other checks in addition to testing the "Connected" property.
This works for me in my testing however totally understand if you don't wish to merge this.
Great project by the way. 👍
My sample code: