Is there a reason why there is a 2-3min delay between the time I get the telnet message that the player is on-line and the actual execution of the code. I can not even log in on the back end until this time has elapsed. I'm using v8.2.35.4 on the XD4. I've seen this with earlier versions as well.
I have done a factory reset.
The network/telnet settings were initially configured, then commented out for the final test.
Sub Main()
EnableZoneSupport(true)
eventMessagePort = CreateObject("roMessagePort")
videoMode = CreateObject("roVideoMode")
videoMode.SetMode("1920x1080x60p")
x = videoMode.GetSafeX()
y = videoMode.GetSafeY()
w = videoMode.GetSafeWidth()
h = videoMode.GetSafeHeight()
networkConfig = CreateObject("roNetworkConfiguration", 0)
_hostName = networkConfig.getHostName()
print _hostName
'networkConfig.ResetInterfaceSettings()
'networkConfig.setHostName("Bright")
'networkConfig.SetIP4Address("192.168.1.110")
'networkConfig.SetIP4Netmask("255.255.255.0")
'networkConfig.SetIP4Broadcast("192.168.1.255")
'networkConfig.SetIP4Gateway("192.168.1.1")
'networkConfig.Apply()
'print networkConfig.GetCurrentConfig()
reg = CreateObject("roRegistrySection", "networking")
isTelnetPresent = reg.read("telnet")
print "Telnet:";isTelnetPresent
'reg.write("telnet","23")
'reg.flush()
print "Running"
while true
end while
end Sub