In a client/server program, how do u shutdown the server gracefully based on the client's input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In a client/server program, how do u shutdown the server gracefully based on the client's input?

21st Oct 2016, 11:13 PM
Sash
2 Answers
0
I hope not based on the client's input from SQL commands, because it would be very danger. But, these are the sql server clients applications with a direct access into SQL server (when you know admin right password), they can do it.
22nd Oct 2016, 1:52 AM
Petr Hatina
Petr Hatina - avatar
0
Hi Petr, no its all python. The first part of program, client obtains date and time from the server. Then the server can be shutdown gracefully, based on user's input when to shutdown.
22nd Oct 2016, 7:33 AM
Sash