I need to develop an application on my eval board: STM3210-c (chip: stm32f107vc) which creates threads. Each thread creates a TCP client and is able to connect to a different slave.
I thought about using FreeRTOS & lwip (and preferably working with the socket functionality of the lwip).
But I want to use sockets, I don't want to have to manage the packets. I've tried to compile the LwIP with support for sockets but I can't get it to compile.
The flags I've set in lwipopts.h are:
#define LWIP_TIMEVAL_PRIVATE 0
#define LWIP_NETCONN 1
#define LWIP_SOCKET 1
When I try to compile I get an error that lwip/netbuf.h does not exist.
- Is there an example of code how to use freertos & lwip sockets?
Is there a different library which I need to consider?
- I am using VisualGDB.
Any offers or code sample would be highly appreciated.