[Ilugc] Re: How to add a new protocol type in socket!!

  • From: sriram@xxxxxxxxxxxxx (p.sriram)
  • Date: Sat Jun 17 17:55:09 2006

 <shree.kant@...> writes:
 

Can somebody explain me how to add a new protocol type in socket?

            The requirement is I need to have a heart beat running
between two cards. Since the Heart beat is exchanged at very high
speed(typically at a speed of 20 Hz).

there is an alternate and perhaps easier solution for doing this (i had someone
do this for me for the exact same problem). instead of adding a new protocol,
use an existing protocol that you 'know' will not be needed in this application.
your code can then trap all the traffic for this protocol. of course, this may
be frowned on as bad practice since if and when sometime in the future someone
decides they need this 'unused' protocol, there will be nasty surprises.

sriram



Other related posts: