共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 跳转至页
回复
打赏帖 | |
---|---|
【Zephyr】MCXN947 Zephyr 开发入门适配shell被打赏20分 | |
【我要开发板】6.联合MATLAB记录数据被打赏50分 | |
【瑞萨RA2E1开发板】:使用ADC功能实现位移传感器采集方案被打赏20分 | |
【nRF7002DK】基于sht30的温湿度计被打赏20分 | |
【nRF7002DK】日志打印被打赏20分 | |
【换取手持示波器】RGB屏幕移植ARM-2D库被打赏35分 | |
【分享开发笔记,赚取电动螺丝刀】分享一下如何解决瑞萨RA2E1使用printf编译报错问题被打赏27分 | |
rtthread硬件加密-5hash加密分析被打赏10分 | |
【换取手持示波器】Mongoose 零代码创建网页仪表盘被打赏33分 | |
【分享开发笔记,赚取电动螺丝刀】基于.Net6.0 WPF简单做一个MQTT收发小工具被打赏24分 |