Client not receiving notification of Server-side Shutdown, Disconnect, or just plain old crash

115 views
Skip to first unread message

Tony Lovell

unread,
Sep 6, 2016, 4:09:25 PM9/6/16
to lidgren-network-gen3
My server receives timely notifications if a client calls Shutdown() or Disconnect() on its NetPeer, or a timeout occurs if the client just plain crashes.  However, NONE of these disconnection scenarios ever results in a similar event when a client goes away.

Is this a bug others have seen in Gen3?

tone

Tony Lovell

unread,
Sep 17, 2016, 11:08:24 AM9/17/16
to lidgren-network-gen3
Bug in my own code.. I was not processing messages on the socket when it was disconnected, and the StatusChange messages reporting the move to disconnection state come arrive in such a context.

tone
 
Reply all
Reply to author
Forward
0 new messages