sntp c demo