2019-08-13 06:00 PM
Hi,
I've been coding for telnet console using API KEIL offer.I'm working on Telnet_Server_UIF.CPP which was created by example installer of KEIL.
i can get strings via netTELNETs_ProcessCommand call back. this only gives me strings after hitting enter key.but i want to get a charater as soon as a user hit a character on keyboard.
i've tried to find the way but no luck so far.
help me...
thx
2019-08-13 11:04 PM
http://pcmicro.com/netfoss/telnet.html
The echo option is enabled, usually by the server, to indicate that the server will echo every character it receives. A combination of "suppress go ahead" and "echo" is called character at a time mode meaning that each character is separately transmitted and echoed.
Therefore server must send the following commands:
255 251 1 - IAC WILL ECHO
255 251 3 - IAC WILL SUPPRESS-GO-AHEAD