This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: sntp problem]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]