Karl Karpfen wrote:
> - I have rewritten the example a bit to get rid of the sys_xxx() functions 
> which are not available for me

I'm not sure I understand. You don't have sys_timeout/sys_untimeout?
 
> - I do a ntohl() on all IP's that are retruned by ipaddr_aton(), this seems 
> to be necessary on my platform
> (at least for configuring the IP of my Ethernet interface it has to be done 
> to apply the correct address
> for it, so I assume this is necessary for all IPs)
>  
> - based on this I do a ntohs() for the SNTP-port too

Both shouldn't be necessary.
 
> Nevertheless my receive-callback is never called, I do not get back a 
> response from the NTP-server.
>  
> So...any ideas what could be wrong/where I could look what is going on?

Yes. Have a look at wireshark to see whether request and response actually get 
sent.


Simon

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

Reply via email to