[openbeos] Re: protoent

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 24 Jul 2006 15:56:18 +0200 CEST

"François Revol" <revol@xxxxxxx> wrote:
> > > same semantics as the usual ones.
> > Okay, that makes at least some sense :-)
> > I saw its use in ping.c to get the ICMP protocol number, and that's 
> > definitely completely useless.
> Unless they originaly thought about making the protocol number 
> dynamic 
> (like automatically allocated when loading a proto module).

Since the protocol numbers are specified by IANA and must match (if the 
protocol should be of any use) the protocol number that the IP header 
advertizes, I really don't see that :)

Bye,
   Axel.


Other related posts: