SimpleNetwork
SimpleNetwork copied to clipboard
server will crash when a new client connects after one client disconnected
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
I have found the issue too.
https://github.com/eric0593/SimpleNetwork.git I update this crash for demo using
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!
https://github.com/eric0593/SimpleNetwork.git I update this crash for demo using
I don't think it's solved in this way