No on socklisten event - 15/04/14 01:03 PM
When mIRC can't find an on socklisten event for a listening socket (or you don't use /sockaccept inside that on socklisten event), on the client side, on sockopen will trigger with $sockerr = 0, and then on sockclose will be triggered (still with $sockerr = 0), is this behavior correct?
The connection is not successful in this case, I think that on sockopen should trigger with $sockerr set to something else than 0, on sockclose shouldn't trigger at all imo since not accepting the connection means the socket can't possibly be closed either.
The connection is not successful in this case, I think that on sockopen should trigger with $sockerr set to something else than 0, on sockclose shouldn't trigger at all imo since not accepting the connection means the socket can't possibly be closed either.