Although I haven't tried as your example implies, has an attempt to use this function been tried?
@Robin yes, I've tried calling end(), but I'm getting an error:
Uncaught Error: This socket is closed.
© Espruino, powered by microcosm.
Report a problem