On 13.03.2018 16:21, Giuseppe Modugno wrote:
I have ip4_addr_t and I want to set it to a "null"/invalid value. Is it
better to use IPADDR_NONE or IPADDR_ANY?

ANY! NONE is all ones and is only used in parsing functions returning "this is not a valid IP address".

This is derived from INADDR_ANY and INADDR_NONE, so it's not really lwIP-specific, just slightly changed names.

Simon

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

Reply via email to