<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello,<br> I'm a new comer, and I'm very sorry to interrupt you. <br> When I try to use programming to connect dhcpd by the given programme, the response is following:<br> Not successful ! <br> dhcpctl_wait_for_completion: no key specified value of waitstaus is 46<br> Partial code is following:<br><br>
const char *keyname = "omaip_key";<br> const char *algorithm = "hmac-md5";<br> const char *secret = "?";<br> status = dhcpctl_connect (&connection, "121.87.23.208",7911, ?);<br> if (waitstatus != ISC_R_SUCCESS) {<br> /* server not authoritative */<br> printf ( " Not successful ! \n");<br> fprintf (stderr, "dhcpctl_wait_for_completion: %s value of waitstaus is %d\n",isc_result_totext<br> (waitstatus), (int)waitstatus);<br> //exit (0);<br> }<br><br> I think the problem is at two "?",but I cannot deal with,could you help me?<br> Thanks for you help!<br>Regards,<br>John</td></tr></table><br>
<hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/"> 好玩贺卡等你发,邮箱贺卡全新上线!</a>