> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Piero 74
> Sent: Tuesday, March 04, 2008 9:02 AM
> To: Mailing list for lwIP users
> Subject: [lwip-users] HELP with LWIPOPTS.H - how set these options and
> whatdoes are they mean?
> 
> Hi all.
> 
> Below this message, i copied my lwipopts.h, so i hope i can explain better
> to all my problems.
> 
> I need help for some setting and understanding.
> 
> I use  tcp (with listener) and udp sockets.
> 
> In particular, my questions are:
> 
> 1. MEMP_NUM_PBUF: comments are: used for PBUF_ROM and PBUF_REF. So, if i
> use, for both udp and tcp, only packet build in my buffer in ram, i can
> set this value low. IS IT RIGHT?
>                                           sockets calls do copy of data,
> so, pbuf_rom and pbuf_ref are never used?

One thing I did, which helped me tune pool sizes, was to run for a little
while, stop in my debugger, and view the lwIP lwip_stats.memp structure.
Or, watch a timer, and call stats_display at an interval to monitor this.

Bill




_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to