From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 18:06:49 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 6199A37B401 for ; Thu, 27 Mar 2003 18:06:49 -0800 (PST) Received: from hermes.cicese.mx (hermes.cicese.mx [158.97.1.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 177CF43F93 for ; Thu, 27 Mar 2003 18:06:47 -0800 (PST) (envelope-from valencia@cicese.mx) Received: from matrix.cicese.mx (matrix.cicese.mx [158.97.23.247]) by hermes.cicese.mx (8.10.0/8.10.0) with ESMTP id h2S26dw04503; Thu, 27 Mar 2003 18:06:40 -0800 (PST) Received: (from valencia@localhost) by matrix.cicese.mx (8.9.3+Sun/8.9.1) id SAA16411; Thu, 27 Mar 2003 18:06:36 -0800 (PST) Date: Thu, 27 Mar 2003 18:06:36 -0800 (PST) From: Jesus Daniel Valencia Sanchez To: Giorgos Keramidas In-Reply-To: <20030327224237.GC790@gothmog.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-22.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE 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: Fri, 28 Mar 2003 02:06:50 -0000 On Fri, 28 Mar 2003, Giorgos Keramidas wrote: > 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. > > But if anyways it will be needed, the only difference will be that one will include two files instead of one always. Thank you. Daniel Valencia ps. - have fun :D