Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 11
    Given that it is UDP, did you make sure to repeat your above experiments several times? The only difference between echo "blah" and printf "blah" is echo will output an extra newline. Does that matter to the server? Does the order when receiving several commands in a row matter? EOF is not something you send or even a character - it's a condition you receive when there is nothing left to read. Commented Dec 12, 2012 at 19:11
  • 2
    How did you verify that the echo-attempt does not send the string to the server? The proper way would be to monitor lo and not rely on the server printing stuff. There is always iptables ... Commented Dec 12, 2012 at 21:44