[Solved] Keep the connection when debug flash/AIR client?
Options
Comments
-
smartfox likely uses unrealistically long timeout timeframes hence doesn't drop the connection.
Photon has a 5s timeout by default so if you lock the application and hence networking for more than that you get disconnected and need to reconnect again0 -
Thanks you. How to adjust default timeout? I try to increase value of MinimumTimeout in PhotonSever.config from 5000 to 30000, but no success.0
-
You have to set the inactivityTimeout on the TcpListner ... Minimum- and Maximum-Timeout are specific to Enet (UdpListener):
<TCPListeners> <TCPListener IPAddress="0.0.0.0" Port="4530" InactivityTimeout="30000" > </TCPListener> </TCPListeners>
0 -
Thanks you0