Forwarded to ecos-discuss
-------- Original Message --------
Subject: sntp problem
Date: Mon, 4 Sep 2006 19:53:35 +0800
From: 毛勇强 <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organisation: TENDA
To: Alex Schuilenburg <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
dear,
I want to use sntp in ecos,but i meet some troubles.
1 serv = getservbyname("sntp","udp");
CYG_ASSERT(serv,"getservbyname(sntp,udp)");
serv is null?
2 time(null)return 0?
3 where should i set the sntp_servers and ntp_num_servers.
------------------------------------------------------------------------
毛勇强
2006-09-04
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss