delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/16/21:33:02

Sender: nate AT cartsys DOT com
Message-ID: <36CA2934.52356FA6@cartsys.com>
Date: Tue, 16 Feb 1999 18:28:04 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: missing socket.h?
References: <MPG DOT 1131707738bae60989687 AT news DOT ucla DOT edu>
Reply-To: djgpp AT delorie DOT com

Angel Ryan wrote:
> 
> I know this question was asked before from the look of the mail archive
> on the website, but is there anywhere to get this file?

Why do you need it?  If your program doesn't include it, but GCC
complains about it anyway, it's due to a bug in one of the C++ headers. 
Edit lang/cxx/_G_config.h and change the line reading

#define _G_HAVE_SYS_SOCKET 1

Change the 1 to a 0.

If the source does include it, it's trying to use networking stuff
that's not native to DJGPP.  There are, however, some libraries on
Simtelnet that provide this functionality via Windows' networking
interfaces.
--

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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