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.

Sending and Receiving String via TCP



Hallo Everyone,

I got the board EK-TM4C1294XL, and I try to use Ethernet to Sending and Receiving String via TCP/IP but without success.
can someone tell me how I can do that, or an example would be helpful .

Thanks in advance

  • You need a tcpip course to have knowledge then write your program
    or
    get an example from TIVAWare and customize.
  • Hi Fares
    See the example enet_io or enet_lwip in TivaWare_C_Series-2.1.0.12573.
    In javascript.js file has the functions and io_fs.c
    Study the example given. Then you have questions available. See in particular the "SetTextCGIHandler"

    Regards
    Aquino
  • In answer to this useless noisy children plenty of arrogance too....
    An HTTP server never is send/receive string or payload buffer from stack...
    Mr Children please get out or have the culture you demonstrate us is completely missing, stay at your place and never answer showing again your complete lack of knowledge.
    TCPIP is NOT HTTP Service!!!!
    Every stack implementation has some example of TCP send receive and connectionless UDP too...
    Starting the point of is the base to do send receive of string and or record on buffer, nor original post was integrated then no specific socket choice on request HTTP instead of send/receive answer is forever wrong and out of scope!