Thread: Implementing TLVs

  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,195
    Custom network protocols are written at the driver level. Start there.

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, 11:25 AM
  2. Implementing shared/exclusive locking (readers/writer) lock
    By ruj.sabya in forum Linux Programming
    Replies: 0
    Last Post: 05-08-2008, 12:06 AM
  3. Implementing of queue using objects?
    By Argo_Jeude in forum C++ Programming
    Replies: 5
    Last Post: 08-07-2007, 11:55 AM
  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