Server->client reply

akenaton,
I don’t know if this can help:

Look at the post where it suggests to override the exit() call. I tried it, and I am now able to catch the closing of the application through the x button