I'm trying to write application on the STM3210C-EVAL that will open multiple tcp connections.
I've started with the VisualGDB STM32 CubeMX sample LwIP_TCP_Echo_Client sample
and it works on my eval board (the application connects to my demo tcp server)
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 a way to use sockets with lwip 1.4 or is it not supported?