golem icon indicating copy to clipboard operation
golem copied to clipboard

Is there a way to figure out if a connection is still connected on the server side?

Open lazercorn opened this issue 7 years ago • 1 comments

Specifically given a *Connection object, is there a method that we can call on it that indicates to us that the *Connection object is still connected? Either a method or a struct variable, something that indicates that connection object is either still connected or not?

lazercorn avatar Apr 19 '17 11:04 lazercorn

I don't think so. In my Golem project I put a connection in a map when a user connected, and then removed it from the map when they disconnected.

Zamiell avatar Jul 30 '17 18:07 Zamiell