This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138: 关于NIMU_emacExampleClient_lcdkOMAPL138ARMBiosExampleProject网络例程

Part Number: OMAP-L138


尊敬的工程师的您好

         在使用NIMU_emacExampleClient_lcdkOMAPL138ARMBiosExampleProject网络例程时遇到一个问题想向您们请教,将该例程移植到一个多任务的sys/bios上运行,例程运行正常,回调函数逻辑如下所示:

为了保持长连接,我将回调函数中的timeVal.tv_sec参数赋值为-1,这使得recvnc函数在没有收到数据时一直阻塞,无法进入到后续的发送,我想请问一下如果要在保持长连接并且未收到任何数据的情况下实现主动发送某一个数据,要如何更改我的回调函数,期待您的回复!