Ethernet uIP - total data size in POST request

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

Ethernet uIP - total data size in POST request

677 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tomkrysl on Wed Mar 14 10:06:34 MST 2012
Hello,
maybe this is bad question but I didn't find anything about this:

I am sending XML data in HTTP POST request to my LPC, where modified uIP is running.

My question is if that XML data just grows over single packet size how to easily determine that all data has been sent on LPC side?

Now I just copy data from all packets to a static buffer and search each time for final XML tag. But it is kinda unclean...
0 项奖励
回复
1 回复

658 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tomkrysl on Wed Mar 14 16:43:57 MST 2012
Reply myself to this. If there is no further data in newly incoming packet then data transfer is completed and content should be assembled already.
0 项奖励
回复