SimpleNetwork icon indicating copy to clipboard operation
SimpleNetwork copied to clipboard

server will crash when a new client connects after one client disconnected

Open zhaowe opened this issue 4 years ago • 4 comments

The reasion is no cleaning to Message member in the Task function. Since Message is a duplicate of newsockfd, remove the Message member will solve the problem

zhaowe avatar Dec 19 '19 02:12 zhaowe

I have found the issue too.

eric0593 avatar Dec 29 '19 16:12 eric0593

https://github.com/eric0593/SimpleNetwork.git I update this crash for demo using

eric0593 avatar Dec 30 '19 07:12 eric0593

Hi guys, sorry for delay..

but now i'm on a business trip as soon as I go back to Italy I check this problem!

if anyone wants to push a pull request i gladly accept.

Best wishes!

kashimAstro avatar Dec 30 '19 15:12 kashimAstro

https://github.com/eric0593/SimpleNetwork.git I update this crash for demo using

I don't think it's solved in this way

flyaudio avatar May 25 '20 09:05 flyaudio