get a character key as soon as hit a key on keyboard via telnet api


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...


  • IIRC, single-character action in telnet is a question not just of the server.  It's also controlled by the input settings of the client, and can be changed during an active session via telnet control characters codes.  I.e. you may well be looking at the wrong end of the issue.

More questions in this forum