|
From: | vincent cui |
Subject: | Re: [lwip-users] FreeRTOS / lwip multiple connections |
Date: | Tue, 30 Aug 2011 03:28:07 +0000 |
Hi Chistoph: The "lwIP Embedded Webserver Demo" is what I took as a starting point. I removed the webserver functionality, now I have a task that
the LwIP webserver demo code is following, I don’t know how do you infer it is noblocking for incoming data and outgoing …. Where to wait 1 ms . void WebServer_Handler(void *pdata) { struct netconn *__pstConn, *__pstNewConn;
__pstConn = netconn_new(NETCONN_TCP); netconn_bind(__pstConn, NULL,80); netconn_listen(__pstConn); for(;;) { __pstNewConn = netconn_accept(__pstConn);
if(__pstNewConn != NULL) {
vHandler_HTTP(__pstNewConn); while(netconn_delete(__pstNewConn) != ERR_OK) { vTaskDelay(10); } } } }
Vincent Cui From: lwip-users-bounces+address@hidden [mailto:lwip-users-bounces+address@hidden
On Behalf Of Christoph Kronen Hi all,
|
[Prev in Thread] | Current Thread | [Next in Thread] |