lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] SNTP client does not work


From: address@hidden
Subject: Re: [lwip-users] SNTP client does not work
Date: Thu, 29 Jan 2015 20:01:56 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Karl Karpfen wrote:
BTW: ipaddr_aton already returns network byte order and udp_sendto() takes a host byte order port. Please first check your code before assuming bugs in other people's code ;-)

Sorry but I did nowhere and never blamed somebody for bugs, I just asked a question regarding USAGE of lwIP - or isn't this allowed here in this maling list?

Dear Karpfen, I'm not a all annoyed when being blamed for bugs. They do happen and it's great when people discover them so they can be fixed!

That being said, to me, your emails imply that you think there must be something wrong with the sntp code as it isn't working (e.g. in the example, the port is *NOT* changed in its endianess). I did not want to accuse you of being dumb or something. All I wanted to say is the sntp example is working fine (except for the outdated default IP for "pool.ntp.org" maybe), and that you're better off checking your code or the port or your network. Again: have you checked with wireshark that request and response are sent over the cable attached to your device? (And if you don't have a TAP to do that, have a look a this: http://www.enigmacurry.com/articles/building-an-ethernet-tap/)


Simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]