sockets.tcp problems

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
emimull
Posts: 2
Joined: 15 Nov 2016 15:50

sockets.tcp problems

Post 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
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: sockets.tcp problems

Post by PoltoS »

Still a problem for you? Should we dig into? Can you provide a small code sniplet to test it?
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: sockets.tcp problems

Post by PoltoS »

This was located and fixed. Will be part of next release candidate. Thank you for your report.
Post Reply