Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

setDisconnectTimeout is not working

$
0
0
Hello, I am using client version: photon-androidndk-sdk_v4-1-10-2, server version: Photon-OnPremise-Server-SDK_v4-0-29-11263. I found that the setDisconnectTimeout function is not working. When I turned off wifi, I got Status Code 1025 immediately. That means "the PhotonPeer just disconnected." My initial Code is like:

_peer = new PhotonPeer(*this, ConnectionProtocol::TCP);
_peer->setDebugOutputLevel(DebugLevel::INFO);
_peer->setDisconnectTimeout(15000);

Viewing all articles
Browse latest Browse all 1557

Trending Articles