public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] [Fwd: sntp problem]
@ 2006-09-04 11:59 Alex Schuilenburg
  0 siblings, 0 replies; only message in thread
From: Alex Schuilenburg @ 2006-09-04 11:59 UTC (permalink / raw)
  To: eCos Discussion, 5329

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312, Size: 832 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-04 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-04 11:59 [ECOS] [Fwd: sntp problem] Alex Schuilenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).