delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/07/16/08:00:32

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: sys/socket.h & netdb.h No such file or directory
Date: 16 Jul 2004 11:57:14 GMT
Lines: 24
Message-ID: <2lpu4qFfgae4U5@uni-berlin.de>
References: <93fb4dc1 DOT 0407151541 DOT 5493ec50 AT posting DOT google DOT com>
X-Trace: news.uni-berlin.de 16gYsYXasmyjG3zVD0t4EQENgtAvsr5AoPNeFoHWwreHWc8PwZ9MiCxZIM
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

smarto59 AT hotmail DOT com wrote:
> I installed djgpp on my ms-dos machine and its ok when running hello
> world
> or some kernel sources but i couldn't compile client server programs
> 'cause they need to include sys/socket.h and other networking
> libraries.

Of course you couldn't: DOS isn't, all by itself, a networking-enabled
operating system, so you shouldn't expect compilers targetting it
to come with networking libraries and headers --- those have to be
supplied by separate programs.

> i dwonloaded all the zip files come with the package 

Why on earth would you do that rather than just looking up what these
packages are supposed to do, in the index files that come in the same
directories?

Hint: the packages you're looking after will have words like
'networking', 'sockets', or 'TCP' in their names.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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