Fix for 2268 (Chat Win/SDL port).
yes, they're identical.
Yes, downloaded and reproduced with https://github.com/VICE-Team/svn-mirror/releases, SDL2 windows port; GTK3 windows port from there works. I seems that the fix is OK; GTK3 windows also works with the fix applied... need to do more tests on linux and see if there's some obvious resource loss...
WiC64 Chat failes on Win/SDL
disabled DBGLOGGING
flush file before potentially closing it. Potentially fixes:
Some inputs on WiC64 and FunMP3
Fix crash in cmd TCP_CLOSE, improve TCP_READ.