When i have a simple TCP server/client socket going on via /socklisten & /sockaccept, when the client use /sockclose to close the socket, on the server, most of the time it triggers on sockclose, which is expected to me, and I believe is how previous version of mIRC worked (I didn't check yet). But sometimes, on sockclose does not trigger, instead on sockwrite will trigger with $sockerr > 0 (tested on 7.56).

While I can understand this may be the way it works now (we can use on sockwrite, but I was kind of using /sockclose -> on sockclose as a logic for leaving the server), I was wondering if it could be something not intended?

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net