Search:

Type: Posts; User: davide_82

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,904

    With memcpy it works fine. Thanks

    With memcpy it works fine.
    Thanks
  2. Replies
    3
    Views
    1,904

    Preparing packet to send

    Hi everybody! I need your help for a problem. I have to prepare a packet to send. The packet is a char* and it is divided into two parts:
    - the first one is a struct made in this way


    struct...
  3. Replies
    8
    Views
    1,813

    Manipulate bytes

    Hi everybody! I've got a question for you...
    If I receive a (char)buffer of n bytes, how can I extract a single byte from it? :confused:
    For example: I've got a 100 bytes buffer. I know that the...
  4. Replies
    2
    Views
    1,314

    problem with data cast

    Hi everybody!!!!! I need to pass an int array through send() function and I do it in this way:

    server side:
    int array[10];
    char* buffer;
    buffer = (char*)malloc(20);
    buffer = (char*) array;...
Results 1 to 4 of 4