delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/27/16:16:18

From: Kim Harty <kharty AT cs DOT mun DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Help with socket.h
Date: Sat, 27 Mar 1999 16:52:46 -0330
Organization: Memorial University of Newfoundland
Lines: 19
Message-ID: <36FD3E16.F3E226E4@cs.mun.ca>
NNTP-Posting-Host: n098h113.remote.mun.ca
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
I would greatly appreciate any help.

I am trying to compile a program that requires socket.h, netdb.h
inet.h.  for a networking  course I am doing in university.

My problem is when I try to compile my program , I get a message saying
the compiler cannot find these files, but I do have them.  I went and
downloaded the library.
I think I do not have the socket library set up correctly for the
compiler to find the files.  Can anyone tell me how to do this.  Or do I
have to tell the compiler in my include statements like  #include
<sys/socket.h> .

Thanks,
Kim
kharty AT cs DOT mun DOT ca


- Raw text -


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