
-----------------------------------
djordje
Tue Sep 04, 2007 9:08 pm

.net connection
-----------------------------------
Is it possible for turing to detect whether a person is connected to a server.

for example a client connects to a server made in turing and then quits the program. How would the server detect that the client is not connected so that it can close the connection and refresh it for other people to use?

-----------------------------------
rdrake
Tue Sep 04, 2007 9:13 pm

RE:.net connection
-----------------------------------
Usually done by pinging the client.  If they don't return to the ping then you know the client is not there anymore.

At least that's how IRC does it.

-----------------------------------
d2bb
Tue Sep 04, 2007 11:31 pm

RE:.net connection
-----------------------------------
have server send a command every 2-3 minets

eg :

Server to Client :

Server sends code telling the client to respond either with an answer of "1". if client does not respond to the Server, Server will close the connection to client.
