Ad
  • Custom User Avatar

    Would appréciate some explanations (see my C++ solution): Actually I use a lambda and ... it appears that I could not capture the function parameter unsigned char *packet in the lambda.
    Had to copy this function parameter into a local variable.

    Does any one have an explanation ?

    Something to do with the CPP reference, and the note capable of capturing variables in scope ? Meaning a parameter to a function is not in the 'scope' ?