netsnmp_gethostbyname_v4行为

时间:2011-01-17 10:56:28

标签: c snmp net-snmp

res = netsnmp_gethostbyname_v4('0.0.0.0',pdu_in_addr_t);

res = ???

谢谢!

1 个答案:

答案 0 :(得分:0)

根据source code of netsnmp_gethostbyname_v4(),该函数返回一个整数。更具体地说,它返回状态代码,该代码在成功和0或失败时为-1