Let me clarify, I was actually thinking mIRC was looking for $crlf terminated line ONLY (as mentioned and as usual, the help file is not explicit!), I now understand.
You shouldn't change how on sockread is triggered here, and as far as if you should abstract away technicalities, I think there are cases when it's a good idea and cases where it's not, in general I think you did it well, socket support is really well done in mIRC.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel