socket failing at 2:00 pm each day
Posted: Thu Mar 23, 2017 11:26 pm
I'm having a very strange problem. I have a LC app made with v8.1.3 that uses a socket connection to a remote server, and it works all day. Every day at exactly 2:00 pm MST, the socket connection fails, and I cannot reconnect. No matter what. Even restarting computer wont fix it. I can only connect the next morning. This happens on any computer, Mac, Windows, Linux running my LV standalones, (or even LC native app) - even a computer running on a cloud service.
However, it does NOT happen when running a LC app generated by versions previous to 8 (ie: v6 and less). In fact, just tested right this minute - exact SAME app running in v8.1.3 cannot log into remote server. And running on v6.0.2 I log on right away.
This is driving me nuts! Any ideas??? My log in code is something like:
However, it does NOT happen when running a LC app generated by versions previous to 8 (ie: v6 and less). In fact, just tested right this minute - exact SAME app running in v8.1.3 cannot log into remote server. And running on v6.0.2 I log on right away.
This is driving me nuts! Any ideas??? My log in code is something like:
Code: Select all
on mouseup
put "20100" into tPort
put field "IPaddress" into tIPaddress
put (tipaddress & ":" & tPort) into Rsocket
open secure socket to Rsocket with message "chatconnected" without verification
write "this is a test" to socket Rsocket with message "SentMessage"
end mouseup
on chatconnected Rsocket
read from socket Rsocket with message "chatReceived"
end chatconnected
on chatReceived Rsocket, pData
put pdata & return after field "incoming"
read from socket Rsocket with message "chatReceived"
end chatReceived
on SentMessage pData
put "message Sent" && pData
end SentMessage