I have a server program (sockets) listening on a port, the clients are executed, do the connection, and the server kicks of a child process to do communications. Just as telnet.
All this is working great, at the end, client sends a command, the child terms etc.
What would be a technique to cause the parent server program to shutdown gracefully. ie, how can the child return something for the server to stop.
All this is working great, at the end, client sends a command, the child terms etc.
What would be a technique to cause the parent server program to shutdown gracefully. ie, how can the child return something for the server to stop.