Dar, Xavier, Björnke, Thanks for your suggestions. I will let the server send a ping command to the client, and let the client respond. When the server hasn't received a ping for a while, it considers the client gone, and vice versa. Tomas Franzén Lighthead Software http://www.lightheadsw.com/ I'm listening to Prodigy - The Way It Is