delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/15/13:16:25

From: Alain Magloire <alainm AT rcsm DOT ece DOT mcgill DOT ca>
Message-Id: <199903151815.NAA06375@mccoy2.ECE.McGill.CA>
Subject: Re: diffs for socket error codes and messages
To: djgpp-workers AT delorie DOT com
Date: Mon, 15 Mar 1999 13:15:42 -0500 (EST)
In-Reply-To: <199903142313.SAA29061@envy.delorie.com> from "DJ Delorie" at Mar 14, 99 06:13:36 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Bonjour

> 
> None would comply with POSIX, as I already added all the POSIX ones.
> 

A good chunck of them was defined in POSIX 1003.1g/D6.1
Granted it's a draft. I am checking in the 1995 one.

> Why add these constants, when their actual values depend on which
> tcp/ip library you use?
> 

Two network APIs are accepted by POSIX, BSD socket and the XTI
each has  there own range of ERRNO. If you think that 1003.1g is not mature
enough or you don't want namespace problem, networking application could use
extern int h_errno and herror(), I think h_errno is accepted in unix98.

I tend to agree with you to keep most of libsocket separated
but it would probably make it easier for Richard D. to have some
hooks in the C lib.



-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019