Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 1999 09:27:28 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Aleks <aleks@ai.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Question about FreeBSD and Linux include files...
Message-ID:  <19991006092728.A20328@dan.emsphone.com>
In-Reply-To: <000701bf0ffa$bedc1c00$0200a8c0@bauron.ai.ru>
References:  <000701bf0ffa$bedc1c00$0200a8c0@bauron.ai.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991006092728.A20328>