[ECOS] [Fwd: sntp problem]

Alex Schuilenburg alexs@ecoscentric.com
Mon Sep 4 11:59:00 GMT 2006


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



More information about the Ecos-discuss mailing list