Processing HTTP lwip

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Processing HTTP lwip

1,396件の閲覧回数
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 返信

1,375件の閲覧回数
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 件の賞賛
返信