A function that takes an IP address as a buffer of 4 bytes, a v-string (which will UTF-8-encode the values above 127), or a string can tell the difference by looking for the presence of only digits and dots and of the total length.
—John
In reply to Re: Re: Distinguishing a v-string from something else
by John M. Dlugosz
in thread Distinguishing a v-string from something else
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |