From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 14:43:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFDAA37B401 for ; Thu, 27 Mar 2003 14:43:04 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9704244051 for ; Thu, 27 Mar 2003 14:43:00 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b148.otenet.gr [212.205.244.156]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h2RMgcd8027207; Fri, 28 Mar 2003 00:42:39 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h2RMgbZ8001189; Fri, 28 Mar 2003 00:42:37 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h2RMgbTe001188; Fri, 28 Mar 2003 00:42:37 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 28 Mar 2003 00:42:37 +0200 From: Giorgos Keramidas To: Jesus Daniel Valencia Sanchez Message-ID: <20030327224237.GC790@gothmog.gr> References: <20030326222537.GB19762@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-RAVMilter-Version: 8.4.2(snapshot 20021217) (terpsi) X-Spam-Status: No, hits=-25.3 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, RCVD_IN_UNCONFIRMED_DSBL,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-questions@freebsd.org Subject: Re: sockets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 22:43:06 -0000 On 2003-03-27 10:05, Jesus Daniel Valencia Sanchez wrote: > On Thu, 27 Mar 2003, Giorgos Keramidas wrote: > > Make sure you include before . > > Hello > thank you very much... that was it. > > i wonder why didn't they #include inside sockets.h if it was > needed. Intentionally. To avoid namespace pollution that this would cause, by bringing in all the data types that sys/types.h and any header that sys/type.h would suddenly want to ``automagically'' include.