共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 跳转至页
回复
打赏帖 | |
---|---|
分享一种检测按键状态的方法被打赏20分 | |
周末总结一下,STM32C0系列的开发经验被打赏50分 | |
【Cortex-M】Systick Timer使用被打赏10分 | |
分享汽车防盗系统的组成与分类(一)被打赏5分 | |
VOFA+波形显示+JYD-31蓝牙发送和解析不定长数据被打赏10分 | |
【换取手持数字示波器】-STM32F4PWM控制LED灯管亮度被打赏22分 | |
【换取手持数字示波器】STM32F4驱动RPR-0521RS照度、接近一体型传感器被打赏23分 | |
宏定义和const关键字定义被打赏5分 | |
【分享开发笔记,赚取电动螺丝刀】几个单片机I2S外设的BLCK时钟对比被打赏20分 | |
【功率监测与控制系统DIY活动成果贴】DIY功率计与LabVIEW数据采集被打赏100分 |