Page 1 of 1

sockets.tcp problems

Posted: 15 Nov 2016 15:57
by emimull
Hi

I can't get onclose to trigger on sockets.tcp. It triggers when I actively call close(), but not when the remote host closes the connection. Am I using the wrong property?

Also, after I have successfully connected to a remote server and received something using onrecv, I'm attempting to re-assign the onrecv property to a different function. But doing so has no effect.

Are these bugs or am I doing something wrong? :roll: :? :lol:

Kind regards,

Emil Müller

P.S.

I'm looking at the documentation about TCP sockets found here:
https://github.com/Z-Wave-Me/Z-Way-Manu ... v/cap3.tex

Re: sockets.tcp problems

Posted: 06 Jan 2017 20:58
by PoltoS
Still a problem for you? Should we dig into? Can you provide a small code sniplet to test it?

Re: sockets.tcp problems

Posted: 17 Jun 2018 19:11
by PoltoS
This was located and fixed. Will be part of next release candidate. Thank you for your report.