This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- QUESTION: (P0) Trouble using the decode function
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 17, 2005
12:15 PM
QUESTION: (P0) Trouble using the decode function
Hi,
I am having some trouble getting the correct msgId from the decode function. I first used the
flxExtFilterGetAttr() to get the header size, which is 20. (is this the expected value?) Then I proceeded to read 20 bytes, and passed them into the DecodeHeader function. However when I look at the now populated msgId, I get the value 24 or 0x18, which is not any of the proper opcodes. Any idea why this is? I would really appreciate help with this issue asap since it is blocking the part of our performance testing.
Thanks,
Johnson
I am having some trouble getting the correct msgId from the decode function. I first used the
flxExtFilterGetAttr() to get the header size, which is 20. (is this the expected value?) Then I proceeded to read 20 bytes, and passed them into the DecodeHeader function. However when I look at the now populated msgId, I get the value 24 or 0x18, which is not any of the proper opcodes. Any idea why this is? I would really appreciate help with this issue asap since it is blocking the part of our performance testing.
Thanks,
Johnson
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 17, 2005
02:46 PM
Okay, after discussion on the phone with Lars, he helped me narrowed down the cause of the problem. It appears that, in the specification document which I am using for reference, has the wrong parameter ordering for the function flxExtFilterDecodeHeader(), i.e. the order of msgId and msgSize appears to be switched. This was the cause of the problem, and has somewhat delayed our functionality and performance testing. Now my test program appears to be working and our performance test can resume.
Thanks Lars for your help.
Johnson
Thanks Lars for your help.
Johnson