murugaperumal has asked for the wisdom of the Perl Monks concerning the following question:
I have written the server program using the select to handle multiple clients. That is run successfully. I have written the client program also to connect the server. That also run successfully.
But if connect the client to the server using telnet it is connected successfully. But if I give the input length as 5 character including newline, in the server side it displayed the length as 6 character. Then if I print some value that value also replaced. I am not able to get the correct value.
How can I solve this problem. Why it is add more character to the given input. Why it is remove some character in the STDOUT.
20100707 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Problem while sending input to the serever using telnet
by cdarke (Prior) on Jul 05, 2010 at 07:42 UTC | |
Re: Problem while sending input to the serever using telnet
by ikegami (Patriarch) on Jul 05, 2010 at 07:43 UTC |