Implementing TLVs

This is a discussion on Implementing TLVs within the Networking/Device Communication forums, part of the General Programming Boards category; Hi, I'm implementing a custom network protocol in C that contains a header and numerous TLVs. Does anybody have any ...

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    40

    Implementing TLVs

    Hi,

    I'm implementing a custom network protocol in C that contains a header and numerous TLVs. Does anybody have any example code for how to implement TLVs in C? What types of structures/unions, parsing, etc? Any insights would help! Thanks.

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Custom network protocols are written at the driver level. Start there.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Implementing IRC protocol
    By cs_student in forum Networking/Device Communication
    Replies: 6
    Last Post: 07-14-2009, 12:25 PM
  2. Implementing shared/exclusive locking (readers/writer) lock
    By ruj.sabya in forum Linux Programming
    Replies: 0
    Last Post: 05-08-2008, 01:06 AM
  3. Implementing of queue using objects?
    By Argo_Jeude in forum C++ Programming
    Replies: 5
    Last Post: 08-07-2007, 12:55 PM
  4. Replies: 12
    Last Post: 12-23-2004, 12:32 AM
  5. Implementing a linked list, some problems
    By EvBladeRunnervE in forum C++ Programming
    Replies: 7
    Last Post: 12-12-2003, 09:07 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21