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

shree.kant at wipro.com shree.kant at wipro.com
Sat Jun 17 11:15:41 IST 2006

Hi All,

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).

            And I need to process the heartbeat also, So I cann't
process each and every packet received at the socket since it will cause
a over head in my application. So What I thought that I will have a
proprietary protocol type in socket in that case I can just process the
packet received at my end assuming it to be a heart beat packet.

The socket command will look like this...


I googled it also, but I was not able to find any examples regarding it.

Host : Redhat 9.0

Platform: montavista linux 2.4

Thanks in advance

Thanks and Regards

Shree Kant

Obstacles are what you see when you take your eyes off your goal

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.


More information about the ilugc mailing list