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

Getting DisconnectByServer status instead of DisconnectByServerUserLimit

$
0
0
I'm using the stand alone photon server with all custom applications.

I was using UDP connections and I had a unit test that made a bunch of connections until it got the DisconnectByServerUserLimit status from OnStatusChanged in the peer listener when connecting (just using the free license so this wasn't hard).

Now I changed to TCP, and I'm getting the StatusCode.DisconnectByServer instead.

Is this expected behavior? I look in my server logs and it says "CTCPSocketServer::ReadCompleted - Exception - CTCPSocketServer::CreatePeer() - Licensing limit: Concurrent connection limit reached. No more connections allowed". So it does look like everything is working as expected, however, I'm getting DisconnectByServer status instead of DisconnectByServerUserLimit on the client.

Viewing all articles
Browse latest Browse all 1557

Trending Articles