I have created a bash script to listen on specific port (using xinetd), so whenever there is someone connecting to port, then it invokes the script and provides its output to user. But i need to provide dynamic arguments to server, for example when i telnet to server like
telnet myserver 4535
then i should be able to pass an argument like my name "Frank" and it should say
"Hello Frank"
There is a parameter of server-args in xinetd config, but i am not sure that arguments to it can be passed dynamically through the telnet or not.