I can receive the discovery packet or packet(s) if desired and I have decoded and parsed the information then used it to establish a connection with the 6400M server via tcpip on the same port. I am receiving the radio response however it is not consistent in size or content after the connection is established successfully.
Here is my question:
How long after the connection is established must I wait for the Radio to respond with the V, H, M and 10 S packets/messages?
The reason I am asking is I am not getting consistent responses from the Radio. Sometimes I get 436 byte, 837 byte data returns then sometimes I get the correct 1276 byte return in one retrieval.
I have tried 100 ms / 500 ms and 1 sec delay times before requesting the data from the tcpip buffer without much difference in results.
It will normally stop at "=50" on 436 bytes and stops normally at "connected" for the 1276 bytes which is the total return expected.
I am sure it is something I am not doing correct but until I can get consistent 1276 byte info returned after the connection is made I cannot proceed to parse the V, H, M, and S messages or to go on and establish the UDP port for streaming.
Using the Winsock control in vb6 not a .NET fan. (Please no comments about which language I choose since it can be accomplished in any language. I just prefer to use the language I am most fluent with for programming)
Yes I have seen and am using the Flex API Primer document.
Any help is appreciated.