Jump to content
Sign in to follow this  

server need to restart

Recommended Posts


I managed to create a working client/server environement. (in programming, tcp)

But now I want my uptime to be good.

There are 2 ways that my server can shut down. or the application crashes, or I ask it to.

In the first case, I want my server to restart itself. in the second it can stay off.

The total environement exists out of 4 processes. (only one can be manual shutdown)

but the 4 of them need eachother. So I created a 5th process that is constan checking if the 4 are still running.

but now I can't shut it down manually ofcourse.

So is there a way to fix this and how?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.