You should use a debugger to determine what your program is providing to the library. If its not what you expect, then the bug is your program not the library. Regardless, you can then check to see if the value you put into the library was properly encoded for transfer (again using a debugger) and was transferred (using a network analyzer). Kurt