www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/16/05:16:47

Message-ID: <008f01bfbf16$aed65110$293f8589@gv015029.bgo.nera.no>
From: "Gisle Vanem" <gvanem AT eunet DOT no>
To: <djgpp AT delorie DOT com>
Subject: Re: Sockets
Date: Tue, 16 May 2000 11:04:46 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

<phrag AT my-deja DOT com> said:


>I am just beginning to learn C++ and have chosen GCC for compiling.
>While looking through a tutorial on sockets, I saw two ways.  The
>Windows way, and the Unix way.  DJGPP does not seem to come with the
>right libraries for either.  I would need netdb.h and sys/sockets.h, or
>windows.h and wndsock.h.  Will those files work with DJGPP?  Where do I
>get them?


The the FAQ in section 22.4. Watt-32 should do what you want. It 
includes <netdb.h>, <sys/socket.h> and most stuff needed for
Unix network programming. Actually, it tries to emulate the BSD-
socket API. 

In case you don't have the FAQ, go to http://www.bgnett.no/~giva/.

Gisle V.

- Raw text -


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