![]() ![]() ![]() ![]() Hit me over the head with some kilobytes if I'm wrong. I was advised to use libcurl but after a bit of reading I don't see that interactive Telnet is one of its strong points. I sort of got something to work in Python to do some of what I want but I'd really rather work in C. I have another program on the same project using a /dev/emulated-tty-port stream into the same application but the Telnet interface is better supported by the application. first I need to connect into the application and then wait for a log-in prompt, answer the prompt, wait for a password prompt, answer that, and then send a series of commands, capturing the returned text. It contains code for accessing HTTP, FTP, Gopher, News, WAIS, Telnet servers. I can perform the actions I want using Telnet (I downloaded and installed Telnet) and have them work. The CERN World-Wide Web software is written in plain C and is especially. Unblushingly used was the source code of the Java TelnetD library (embeddable telnet daemon) that is copyrighted by Dieter Wimberger. This program uses additional libraries that stand under different licenses. I'd then parse the text, store it away, and command the application to perform actions. Just install your own telnet server daemon under Windows. My new program would issue commands which read back ASCII. What I want to do is interactively Telnet into an application which is run on the same Raspberry PI, and then have a running dialog with that application's command interface (via telnet) to keep track of, log, and add data to, some real time activities the application is performing over a period of weeks. I'm trying to add a new utility to a ham radio project which is based on the Raspberry PI. I'm used to working with small cpu systems, not using TCP/IP. I am most familiar with C but not in embedded environments. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |