From owner-freebsd-questions Wed Oct 6 7:28: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 1EC3015197 for ; Wed, 6 Oct 1999 07:27:47 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA20573; Wed, 6 Oct 1999 09:27:29 -0500 (CDT) (envelope-from dan) Date: Wed, 6 Oct 1999 09:27:28 -0500 From: Dan Nelson To: Aleks Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question about FreeBSD and Linux include files... Message-ID: <19991006092728.A20328@dan.emsphone.com> References: <000701bf0ffa$bedc1c00$0200a8c0@bauron.ai.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <000701bf0ffa$bedc1c00$0200a8c0@bauron.ai.ru> X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Oct 06), Aleks said: > I have following question: > > What FreeBSD include files corresponds to "netinet/ip_tcp", > "netinet/ip_udp", "netinet/protocols.h" (Linux include files)? You should be using netinet/tcp.h, netinet/udp.h, and the getprotobyname() function, all of which exist on Linux as well. I don't know why people try and use system-specific include files when the portable versions are right there. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message