BrandonPotter / SimpleTCP

Straightforward .NET library to handle the repetitive tasks of spinning up and working with TCP sockets (client and server).
Apache License 2.0
363 stars 108 forks source link

If client unplug LAN cable in server still connected #48

Open aditirvan opened 5 years ago

aditirvan commented 5 years ago

Hi, If client unplug LAN cable, how to remove from client connected on server? because client still connected, if i check in code int clientsConnected = server.ConnectedClientsCount;

belohnung commented 5 years ago

You could ping the client