Ethernet uIP - total data size in POST request

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

Ethernet uIP - total data size in POST request

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

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