I know this is not much of a programming question, but I had no other place to go to...


I alittle help with telnet echo nagotiations.
you see, I'm writing a server, and I know that the server needs to send the 0xff 0xfb 0x01 to let the client know that his with remote echo the sent to him data.

and the client needs to send back: 0xff 0xfd 0x01


The thing is that, when server sends this 3 bytes to the client, the client does understand that this bytes are part of the nagotiation.


what am I doing wrong?



Thanks alot.