Writing a telnet client
Posted
by MAC
on Stack Overflow
See other posts from Stack Overflow
or by MAC
Published on 2010-03-25T21:37:48Z
Indexed on
2010/03/25
21:43 UTC
Read the original article
Hit count: 279
HI,
I have a device that exposes a telnet interface which you can log into using a username and password and then manipulate the working of the device.
I have to write a C program that hides the telnet aspect from the client and instead provides an interface for the user to control the device.
What would be a good way to proceed. I tried writing a simple socket program but it stops at the login prompt. My guess is that i am not following the TCP protocol.
Has anyone attempted this, is there an opensource library out there to do this?
Thanks
© Stack Overflow or respective owner