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.

increase number of TCP/IP outstanding packets

i have a general question (on TCP programming) !

using uip for TM4C129 (from tivaware examples) , i can send only one packet at a time. transmission ocures when the TCP is idle. and after a packet send , i cant send another for about half second. in other word we can have only one outstanding packet by default. how can i increase number of outstanding TCP packets?

  • i find the solution:

    just send packets twice: modify enet_uip.c :

    if(uip_len > 0)

    {

    uip_arp_out();

    PacketTransmit(EMAC0_BASE, uip_buf, uip_len);

    PacketTransmit(EMAC0_BASE, uip_buf, uip_len);

    uip_len = 0;

    }

    now it works as fast as possible :)