This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294XL code to send and receive txt file through tcp/ip ethernet



Hi

  I am a beginner can some please give me sample code for simple send and receive files(txt) using tcp/ip ethernet, for the TM4c1294xl board. 

thank you

  • Ananthan,

    "Beginner" and "simple" rarely mix well together.

    Your request is unfortunately too ambiguous to answer - transferring a text file could be done in countless different ways! You don't tell us how big the file is, what the contents are etc etc - and actually I suspect your eventual goal is not transferring txt files but somehow getting the information contained in those files in/out of your board. Using txt files might actually be a stupid way to achieve that, or the exact right way - it depends on the plethora of details that you didn't tell us.

    How it could be done, then - I believe there is a web server example supplied with TivaWare - I suggest you start there. It is not the "simple send and receive txt files" solution you are looking for, but contains many of the necessary components to implement that. We will be waiting you to publish the finished example code for others to use!

    Fair warning: if you are as you say a beginner in these things, it will not be an easy task.