I need more info, do you use a domain name or an ip address in your DomotiGa rfxcom settings?
Ip address is the best.
Are you sure that there are no local network issues?
Try changing the ip address of the rfxcom device, to rule out any conflicts?
Sure that there are no port scanners running or things like that?
The device is on your LAN right, not somewhere on the internet?
Which Linux distro are you running? Firewall active?
If you can receive and send data with from/to rfxcom device with domotiga ones it connects, init is ok, all domotiga does when you close it is close the tcp sockets, there is nothing special about that.
I use a dozen tcp connections from domotiga to all sorts of devices and services without problems.
Are you running the latest Gambas stable code compiled from svn?
Because a long time ago Gambas had some bugs regarding sockets, but they didn't corrupt anything.
Can you telnet to the device when it is stuck?
Code: Select all
telnet 192.168.1.19 10002
Trying 192.168.1.19...
Connected to 192.168.1.19.
Escape character is '^]'.
Z
Z
Regards, Ron.