I’m testing it by echoing a string to
nc localhost 5001as shown in the video
-N helps. From man nc:
-N
shutdown(2) the network socket after EOF on the input. Some servers require this to finish their work.
I’m testing it by echoing a string to
nc localhost 5001as shown in the video
-N helps. From man nc:
-N
shutdown(2) the network socket after EOF on the input. Some servers require this to finish their work.