How to parse data received using WebTcpipRecvUntil
How to parse the data resturned by function WebTcpipRecvUntil. I want to capture dynamic value received in this response and pass onto next send request.
I tried WebTcpipRecvUntil(hWeb, sRecv, STRING_COMPLETE, nReceived, "\x03"); and stored the data received from server in sRecv, but when i print using print statement it shows only one char. whereas nReceived shows the exact number of characters received.
Please respond, would be highly helpful.
Re: How to parse data received using WebTcpipRecvUntil
It looks like you should be getting the data into the variable sRecv if the count is correct. Have you tried using a Write statement instead of a print statement to verify the contents? You may also want to specify in the declarations the size for sRecv to be something larger then the size of what you're receiving.
If none of that works, have you tried the WebParseDataBound or WebParseDataBoundEx functions?