How to display a custom message when xinetd rejects a connection?
I would like to display a message to the client when xinetd rejects the connection that the client tried to establish.
The client sends a text message to a port where xinetd is listening. If the server script is already in use a new instance of this script won't be created and the connection will be rejected. In this case, I want the client user to know that one instance of the script is already running. How could this be accomplished? Thanks in advance for any idea.