开发者

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

开发者 https://www.devze.com 2023-01-31 12:48 出处:网络
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?

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

精彩评论

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

关注公众号