Search the Community
Showing results for tags 'Telnet'.
Found 2 results
Hello all, I've been able to get the chatserver example to work. I did some modifications on it and I'm now printing data from adc when client connects. I was wondering if I can save the data from the adc in a file using a telnet command. I mean, as soon as the adc starts reading I'd like to send some kind of telnet or whatever command to save this into a file. I read about some telnet commands like: "telnet ip -f file_location" or even "telnet ip port >> file_location", but I don't know how to implement this at the end of the adc conversion. I mean, can I just do: client.write("telnet ip port >> file_location"); ? I tried something like that but it didn't work. Thank you in advance! Alex
Hi, I have a Mac desktop app that connects to a Connected Launchpad via USB serial. I decided to try to add ethernet port connection. I got tantalizing close but no cigar! I've been stuck on this for a week now so I need help. I had no problems adding the Ethernet.h library except for something very weird trying to do a conditional import. I have been using directives to compile for either the LaunchPad or the Connected LaunchPad: #ifdef PART_TM4C1294NCPDT // Connected LaunchPad #include "Ethernet.h" #elif defined( PART_LM4F120H5QR ) // LaunchPad #endif This seems to have been working, but it doesn't work for the above code. I have to comment out the #include "Ethernet.h" to compile for the EX-TM4C123GXL, but this is only a minor inconvenience. I set up a Telnet socket and was able to connect to it using the Unix Telnet program. I could connect, disconnect and reconnect, but the server does not recognize the disconnection. The client.connected() function continues to return true so I only get my sign message with the first connection. Still, I thought I was ready to go so I added NSStream to my app. It could connect and exchange a few messages before giving me a Stream Code 54: The operation couldnz6MainEthernet.ino