Using NetworkInterface.c from +UDP in +TCP?

Hi all In the FreeRTOS+TCP source there is no port for other thenthe Simulator. (WinPCap) In the FreeRTOS+UDP source there is a port for the LPC17xx, lpc18xx etc. Looking at those ports, I can’t see why the shouldn’t work in the FreeRTOS+TCP as well. They are basically just RX and TX for the EMAC device and as nothing to do with UDP/TCP/HTTP etc! Any tried using them in the +TCP with any luck? Med venlig hilsen/Best regards/Mit freundlichen Grüssen Thomas Johansen

Using NetworkInterface.c from +UDP in +TCP?

I don’t think the drivers in the +UDP directory would work unmodified in the +TCP code because the method used to send data from the driver to the stack is different – +UDP sends to a queue directly whereas +TCP calls a function which sends to the queue indirectly. That said, you should be able to use a driver from the +UDP code under +TCP with very few changes. We do actually have FreeRTOS+TCP running on an LPC1830, if that is of interest to you. The driver might not be tidied up ready for release yet, but if you write to the business contact email address from http://www.freertos.org/contact – marking your email for the attention of Richard – I can send what we have. Regards.