Quantcast
Channel:
Viewing all articles
Browse latest Browse all 44652

Wiki Page: Specify hexadecimal and ASCII characters in the WebTcpipRecvUntil function.

$
0
0
You can use either hex, ASCII or a combination in the WebTcpIpRecvUntil function. In the following example we will receive data until an escape character followed by the ascii characters Y7 are received. We are specifying the ESC character as \x1B in this example: WebTcpipRecvUntil(hWeb0, sData, STRING_COMPLETE, nRecv, "\x1BY7"); The sequence \x specifies the next character in a hex notation, so a carriage return \r could also be specified as \x0D and a line feed \n as \x0A. Old KB# 18238

Viewing all articles
Browse latest Browse all 44652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>