Hello,

The documentation for sys_mbox_new states

> Creates an empty mailbox for maximum "size" elements. Elements stored
> in mailboxes are pointers. You have to define macros "_MBOX_SIZE"
> in your lwipopts.h, or ignore this parameter in your implementation
> and use a default size.

The relevant macros are

TCPIP_MBOX_SIZE
DEFAULT_RAW_RECVMBOX_SIZE
DEFAULT_UDP_RECVMBOX_SIZE
DEFAULT_TCP_RECVMBOX_SIZE
DEFAULT_ACCEPTMBOX_SIZE

I have no idea how big or small each one should be  o_O
How to make an intelligent decision?

-- 
Regards.

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to