delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/25/14:24:21

From: "Marp" <Marp AT 0 DOT 0 DOT 0 DOT 0>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP ! Missing libary files
Date: Sat, 25 Sep 1999 12:37:20 -0400
Organization: Netcom
Lines: 31
Message-ID: <7sitor$r44@dfw-ixnews7.ix.netcom.com>
References: <7silar$rh2$1 AT news6 DOT svr DOT pol DOT co DOT uk>
NNTP-Posting-Host: prn-nj1-07.ix.netcom.com
X-NETCOM-Date: Sat Sep 25 11:37:47 AM CDT 1999
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Christopher Denney <Chris AT cdenney DOT freeserve DOT co DOT uk> wrote in message
news:7silar$rh2$1 AT news6 DOT svr DOT pol DOT co DOT uk...
> I have just downloaded DJGPP after programming in java for a year so I am
a
> beginner at DJGPP.  I want to program TCP/IP programs, but all TCP/IP
> example programs I come across seem to need a variety of these files.
>
> <sys/socket.h>
> <netdb.h>
> <netinet/in_systm.h>
> <netinet/ip.h>
> <netinet/ip_icmp.h>
> <windows.h>
> <winsock.h>
>
> Why do they not come with DJGPP? and where can I get them.  I would like
to
> try C networking but without these it's seems I can't. PLEASE HELP.
>

Some of these headers are specific to Windows, and DJGPP produces DOS
programs. There are, however, a couple of TCP/IP libraries for DJGPP that
may let you do some of this stuff. There's one at
http://www.arcticnet.no/~ovek/files/ and there's another (called libsocket I
think) in the v2tk directory of the DJGPP distribution. I haven't used
either of these so I can't tell you if they're any good or not.
Alternatively, you could use a Windows compiler for winsock programming
instead in which case you can try LCC-Win32 located at
http://www.cs.virginia.edu/~lcc-win32/ Hope this helps.


- Raw text -


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