You don't have a socket problem on your 97D server files xD
Fabiven is having a different problem which can actually be a bot/scrapper trying to send random packets into the Connect Server.
Like I've said in other posts @
BAVKAMU: Socket Based Errors are from an old WINSOCK library used by 97D's Game Servers/ Connect Servers / Join Servers etc...
Socket Closed() IS NOT AN ERROR!!! It's a symptom of something else (Socket still being in used but will be forced to close while still running). When you are ALT + F4 the client window (Without making your exit from the game using packets ---> exiting the game using the menu of the game), this can trigger Socket Closed() thing, which is a symptom when the Account/Character class in the GameServer is still having something to be processed inside the GameServer on a socket layer. The Game Server knows there are still things to be processed for your Account/Character (like data packets from the client) and if you forcing the exit with ALT F4, this can trigger Socket Closed().
You probably are just bothered because the error message is RED and is making you think that it's a real problem. It's not, dude! Stop worrying on things like this.