This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
[Fwd: sntp problem]
- From: Alex Schuilenburg <alexs at ecoscentric dot com>
- To: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>, 5329 at tenda dot com dot cn
- Date: Mon, 04 Sep 2006 12:59:16 +0100
- Subject: [ECOS] [Fwd: sntp problem]
- Reply-to: 5329 at tenda dot com dot cn
Forwarded to ecos-discuss
-------- Original Message --------
Subject: sntp problem
Date: Mon, 4 Sep 2006 19:53:35 +0800
From: 毛勇强 <5329@tenda.com.cn>
Reply-To: 5329@tenda.com.cn
Organisation: TENDA
To: Alex Schuilenburg <alexs@ecoscentric.com>
References: <200608221734071407106@tenda.com.cn>
<44EAD73D.60607@ecoscentric.com>
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