How can I get my game to tell my server i have disconnected


My game connects to a c# server.

When I close game, my game is still connected to c# server.

The c# server pings the client, but doesn’t remove client.

How can I let my server know I have closed game.


How do you communicate with that server? HTTP? Sockets?

Hi, I use FSockets, is there a function that I can run before the game exits?