|
From: | greencity |
Subject: | [lwip-users] lwip1.30+ucos2.86 on luminary lm3s8962 |
Date: | Thu, 4 Dec 2008 15:00:19 +0800 |
Hi all: There is something wrong with my process. Please help me. Thanks a lot. I am porting lwip1.30 and ucos2.86 on luminary lm3s8962. The RTOS and stack begin to work now and can ping with each other. So I want to build a simple http server on it. The code below is my http connect task and connect process function. They are written with reference to the httpserver-netconn.c in lwip contrib-1.30. I use realview MDK3.24 to build the target and use lm link to debug.When the program is running, I find that http server only can connect one time. And when the connect is closed the server send RST package to web browser(MAXTHON). After this I refresh the web browser but the server can not response to this connect request. Why??
static
void Http_Task(void *parg) pxHTTPListener
= netconn_new( NETCONN_TCP ); while(1)
extern
void |
[Prev in Thread] | Current Thread | [Next in Thread] |