sane-project-website/old-archive/2000-06/0044.html

104 wiersze
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: saned doesn't find sane service...</TITLE>
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
<META NAME="Subject" CONTENT="Re: saned doesn't find sane service...">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: saned doesn't find sane service...</H1>
<!-- received="Tue Jun 6 08:21:52 2000" -->
<!-- isoreceived="20000606152152" -->
<!-- sent="Tue, 6 Jun 2000 23:27:02 +0800" -->
<!-- isosent="20000606152702" -->
<!-- name="Petter Reinholdtsen" -->
<!-- email="pere@hungry.com" -->
<!-- subject="Re: saned doesn't find sane service..." -->
<!-- id="200006061527.XAA26220@localhost.localdomain" -->
<!-- inreplyto="saned doesn't find sane service..." -->
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20saned%20doesn't%20find%20sane%20service...&In-Reply-To=&lt;200006061527.XAA26220@localhost.localdomain&gt;"><EM>pere@hungry.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Jun 06 2000 - 08:27:02 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0045.html">Petter Reinholdtsen: "Restarting a discussion about TWAIN and SANE..."</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0043.html">Robert Schwebel: "Re: C++ class?"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0030.html">Jochen Eisinger: "saned doesn't find sane service..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0050.html">Martin Heinen: "Re: saned doesn't find sane service..."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0050.html">Martin Heinen: "Re: saned doesn't find sane service..."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0053.html">Jochen Eisinger: "Re: saned doesn't find sane service..."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#44">[ date ]</A>
<A HREF="index.html#44">[ thread ]</A>
<A HREF="subject.html#44">[ subject ]</A>
<A HREF="author.html#44">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
[Jochen Eisinger]
<BR>
<EM>&gt; But there is the apropriate line in /etc/services... however the man
</EM><BR>
<EM>&gt; page for getservbyname() says that setservent(int) has to be callen
</EM><BR>
<EM>&gt; before getservbyname() which is used to determine the port
</EM><BR>
<EM>&gt; number. When I'm surrounding the getservbyname() call with
</EM><BR>
<EM>&gt; setservent(int) and endservent(), everything works fine. It looks
</EM><BR>
<EM>&gt; something like:
</EM><BR>
<P>Which platform is this? I noticed similar, but totaly clear,
<BR>
information in the Linux RedHat 6.2 man page. This is the first time
<BR>
I hear about the setservent() and endservent() functions. Do they
<BR>
exist on all platforms?
<BR>
<P>If anyone can verify this, I'll add it to the CVS repository. I find
<BR>
this very strange, as I know this have been working earlier.
<BR>
<PRE>
--
##&gt; Petter Reinholdtsen &lt;## | <A HREF="mailto:pere@td.org.uit.no?Subject=Re:%20saned%20doesn't%20find%20sane%20service...&In-Reply-To=&lt;200006061527.XAA26220@localhost.localdomain&gt;">pere@td.org.uit.no</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20saned%20doesn't%20find%20sane%20service...&In-Reply-To=&lt;200006061527.XAA26220@localhost.localdomain&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0045.html">Petter Reinholdtsen: "Restarting a discussion about TWAIN and SANE..."</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0043.html">Robert Schwebel: "Re: C++ class?"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0030.html">Jochen Eisinger: "saned doesn't find sane service..."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0050.html">Martin Heinen: "Re: saned doesn't find sane service..."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0050.html">Martin Heinen: "Re: saned doesn't find sane service..."</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0053.html">Jochen Eisinger: "Re: saned doesn't find sane service..."</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#44">[ date ]</A>
<A HREF="index.html#44">[ thread ]</A>
<A HREF="subject.html#44">[ subject ]</A>
<A HREF="author.html#44">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Tue Jun 06 2000 - 08:23:16 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>