Z.Lun
Z.Lun

Reputation: 305

why receiving 2 letters when using telnet?

I am looking this page:http://netty.io/wiki/user-guide-for-4.x.html enter image description here

when I use 'telnet 127.0.0.1 8080' and send some letters: enter image description here

why..?

Upvotes: 0

Views: 81

Answers (1)

Norman Maurer
Norman Maurer

Reputation: 23557

Because it first "prints" what you entered there and then also what is echoed back.

This should give you a better idea:

echo "test" | nc 127.0.0.1 8080

Upvotes: 1

Related Questions