ok so im reading from lincoln d stein book
network programming in perl
chapter 5 shows an example of a tcp echo server-client app.
im on ubuntu.
im tryin to test it.
here are the sources to it http://www.modperl.com/perl_networking/source/ch5/
its expected behaviour is simple
client-->message-->server
server gets message,inverts it-->new_message-->client
client prints message on screen
ok now if i try the application with appropriate parameters
for client 127.0.0.1 and 2007 and for server with
2007 it doesnt want to work.i put in input...but it
never seems to come back on the screen inverted.
on the other hand if i replace the client with
telnet and give it same params ,SURPRISE !IT WORKS !!
now in chapter 4 there's an exact replica of this
server-client app only its using somewhat different
functions and that works totally OK.
my question is whats happening and how am i supposed
to get it right ?
thank you