Hi, I'm trying to build a mechanism to lookup peers. I have a sort of c++ wrapper in the works, and as part of that I am trying to map between the peers in events and my c++ peer objects.
I'm currently using the sessionId to key off of the peer, which has been working well mostly. However, I just added some 'cleanup' code for handling disconnections. When I receive a disconnect event in my client (its a 1-1 client server at the moment) I get a sessionId of 0. It seems to have the correct ID when the server gets a disconnect event. Is this expected, or am I perhaps doing something wrong? Is there a better value to key the peers off of? Thanks, Eugene _______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
