connecting to ntp server using eps8266 and arduino.

Juraj:
I would try this

Hi, I tried working on code but was not able to send 48 bytes data to ntp server for getting timestamp.
After searching online I found this code ->

http://forum.43oh.com/topic/8948-ntp-from-esp8266-via-at-commands/

Now the problem is that the program does not get all response from ntp server and gets stuck in while loop of server response part.
Please help me with this if possible.