Can lwip do both IPv4 and IPv6 at the same time? Same question for the HTTP server. I know for a fact that it could be done in MQX5.0, because I did it. I don't know about lwip though. It looks as if the HTTP server can not due to the following code snipet:
static int32_t httpsrv_set_params(HTTPSRV_STRUCT *server, HTTPSRV_PARAM_STRUCT *params)
{
#if LWIP_IPV4
server->params.address.sa_family = AF_INET;
((struct sockaddr_in *)(&server->params.address))->sin_port = PP_HTONS(HTTPSRV_CFG_DEFAULT_HTTP_PORT);
#elif LWIP_IPV6
server->params.address.sa_family = AF_INET6;
((struct sockaddr_in6 *)(&server->params.address))->sin6_port = PP_HTONS(HTTPSRV_CFG_DEFAULT_HTTP_PORT);
#endif
Sure wish you guys would have just kept the MQX RTCS instead of going to lwip...