Search:

Type: Posts; User: dmh2000

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    10,635

    the alternative to a fixed struct is to have a...

    the alternative to a fixed struct is to have a format that can be read sequentially, something like what anduril suggested. a few fixed fields, then variable length strings that you find by reading...
  2. Replies
    5
    Views
    10,635

    ptr = ptr + strlen(_name); memcpy(ptr,...

    ptr = ptr + strlen(_name);
    memcpy(ptr, &counter, sizeof(u_short));

    if the length of _name is less than the allocated size (100) in the struct , then this will write counter and datalen at the...
Results 1 to 2 of 2