共2条
1/1 1 跳转至页
[原创]Starting DHCP server with dhcpsInit()
I am trying to establish a DHCP Server in my VxWorks application.
I am trying to do so by first calling to dgcpsInit:
STATUS dhcpsInit (DHCPS_CFG_PARAMS *dhcps_params);
My problem is that dhcpsInit returns a wrong value (-1), and it
doesn't return any error number (errno), so I can't understand what is
the problem.
I tried to set dhcps_params in many ways (for example: maxdhcpMaxHops
= 1, dhcpSPort = 67, dhcpCPort = 68, dhcpMaxMsgSize = 590,
dhcpsDfltLease = 3600, dhcpsMaxLease = 3600, pDhcpsLeaseFunc = NULL,
pDhcpsAddrFunc = NULL),
but it still doesn't work!
I'll appriciate any help, Thanks.
关键词: 原创 Starting server dhcpsI
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |