I don\'t need to validate that the IP address is reachable or anything like that. I just want to validate that the string is in dotted-quad (xxx.xxx.xxx.xxx) IPv4 format, w
You could accomplish this very easily with boost tokenizer and boost char_separator.
http://www.boost.org/doc/libs/1_37_0/libs/tokenizer/char_separator.htm