On Wed, Oct 09, 2013 at 11:41:50PM -0700, Ishmeet wrote: > I am using LwIP 1.4.1, the problem is I have to use sys_timeouts(), for "Ping > Request Timed out" prints inside ping.c. When I send ping requests using > ping_send_now(). I call sys_timeout(1000, ping_timeout, ping_pcb); along > with it. The problem is ping_timeout handler calls immediately after calling > sys_timeout, rather it should call after 1000 msec as described.
what are you using to handle timeouts? do you use an operating system (which?) or are you in NO_SYS=1 mode? if NO_SYS=1, is your sys_now() function reliably producing milliseconds? best regards chrysn -- To use raw power is to make yourself infinitely vulnerable to greater powers. -- Bene Gesserit axiom
signature.asc
Description: Digital signature
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
