energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

setsockopt() or TCP_NODELAY on TM4C129 Launchpad #854

Open RonnieJHW opened 8 years ago

RonnieJHW commented 8 years ago

I am using the EK-TM4C1294XL. I need to send out Ethernet packets immediately after an event has taken place. The packets are small (< 20 bytes), but looking at a WireShark capture shows that the unit only sends two packets/sec. I need to send about packets with minimal delay (< 3 ms) for them to be useful. It seems I can't turn on the NODELAY flag. I am using the standard EthernetClient.write(buffer, size) to write data. Also, setting the LWIP_SOCKET to 1 in lwip/lwipopts.h results in compile errors (mostly wrong argument count for Ethernet function calls). I am using energia-0101E0015 on a Ubuntu 14.04 64 bit machine.

rei-vilo commented 8 years ago

You might have more answers