From owner-freebsd-questions Tue Apr 2 6:15: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id 21BFD37B405 for ; Tue, 2 Apr 2002 06:15:02 -0800 (PST) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.11.6/8.11.6) with ESMTP id g32EAsv96101; Tue, 2 Apr 2002 11:10:55 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Tue, 2 Apr 2002 11:10:54 -0300 (ART) From: Fernando Gleiser To: Rohit Panda Cc: Subject: Re: problem in network programming using sockets In-Reply-To: <20020402121322.21012.qmail@web12806.mail.yahoo.com> Message-ID: <20020402105751.O95807-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2 Apr 2002, Rohit Panda wrote: > > hi, > > i was trying to compile a program (which is using sockets) which was > running in linux.now i compiled the code but got some strange errors. > > eg. /usr/include/sys/socket.h syntax error before `gid_t` > > " `ushort_t` > > > all the errors is from the socket.h file. > > iam using freebsd 4.4 version. > > where does the problemlie. From socket(2): SYNOPSIS #include #include int socket(int domain, int type, int protocol); You need to include before Fer > > thanks and regards > > rohit > > > > > > > > > > > ftp> cd netscape6 > drwxr-xr-x 3 888 999 23 Mar 23 16:17 english > drwxr-xr-x 3 888 999 23 Mar 23 16:18 japanese > drwxr-xr-x 2 888 999 4096 Apr 5 03:55 marketing > marketing is now apparently a language... > -- comment by chialea, found on slashdot > > > --------------------------------- > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message