res = netsnmp_gethostbyname_v4('0.0.0.0', pdu_in_addr_t);开发者_StackOverflow社区
res = ???
Thank you!
According to the source code of netsnmp_gethostbyname_v4(), that function returns an integer. More specifically it returns a status code which is 0
on success and -1
or failure.
精彩评论