开发者

How to validate host name \ domain name in Linux - C++

How can 开发者_开发技巧I validate host name \ domain name in Linux, C++?

In Windows I use for this purpose DnsValidateName - is there a good replacement for that in Linux GCC?

Thank you.


Well you could use some reqular expressions. Take one of these proposed here with some regex library.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜