🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1561

Problem with header <netinet/in.h>

#1561
From: Scott R Violet
Date: Fri, 16 Oct 1992 16:31
18 lines
1232 bytes
Hi,
	Last night I was playing around with sockets and needed the
in_addr structure that is defined in the file <netinet/in.h>, of
course now it is in the direcotry /NextDeveloper/headers/bsd.  But
anyway, when I included this file I got errors in the header file upon
compilation.  The errors were on line 116,117,118, and 179 (I don't
have them handy, but I am pretty sure that the numbers are correct,)
and the errors were u_char, u_short, and u_long undefined...  How
would such an error come up?  The only remedy I could come up with was
to edit the in.h header file and stick in the line 
#import <sys/types.h>
	Why should I have had to do that?  Am I missing something, or
is it another bug?
Thanks,
-- 

		-Scott Violet (xepo@csd4.csd.uwm.edu)
Technical Details
Message-ID: <1bmqp8INN20s@uwm.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!csd4.csd.uwm.edu!xepo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!csd4.csd.uwm.edu!xepo
From: xepo@csd4.csd.uwm.edu (Scott R Violet)
Newsgroups: comp.sys.next.programmer
Subject: Problem with header <netinet/in.h>
Message-ID: <1bmqp8INN20s@uwm.edu>
Date: 16 Oct 92 16:31:36 GMT
Article-I.D.: uwm.1bmqp8INN20s
Distribution: usa
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Lines: 18
NNTP-Posting-Host: 129.89.7.4
Originator: xepo@csd4.csd.uwm.edu