Processing HTTP lwip

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Processing HTTP lwip

880 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Dfcbkbq on Fri Sep 28 02:32:48 MST 2012
Hello!
I am trying to start using lwip in my project. And can't understand is there way to get HTTP-requests and manually process them? Does there any functions that can manually create http respond?

Regards, Vasilij.
标签 (1)
0 项奖励
回复
1 回复

859 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wellsk on Fri Sep 28 08:21:00 MST 2012
Handling HTTP requests isn't really part of the LWIP core code. You'll need to write an application that binds the port (80) to a listener app and handle the requests there.

The LWIP contrib examples have a sample HTTP application that renders a simple web page and shows how to handle the HTTP requests and responses. Maybe this is will work. The contrib tree can be download from LWIP's Savannah site, but it's also replictaed in the lwip_lpc port.

http://sw.lpcware.com/?p=lwip_lpc.git&a=tree&h=3ddfab645e2f4fecd094327fcc41e9839f631837&hb=cd5a244b7...
0 项奖励
回复