LR报错Specified buffer lrs_length_send : doesn't exist. Error code : 9011
pktId和pkts是指向两个个结构体的指针,已经付了值memcpy(&pktId->data,&pkts,sizeof(uni_pkt2));
memcpy(buffer,pktId,len_pkt);
lrs_set_send_buffer("socket0",buffer,len_pkt);
lrs_length_send("socket0",buffer,719,LrsLastArg);
lrs_send("socket0","buf0",LrsLastArg);
问题是,执行之后会报错Specified buffer lrs_length_send : doesn't exist. Error code : 9011.
在执行日志中看,lrs_length_send的buf里显示的是个特殊字符,见截图
求各位大侠拔刀相助!
页:
[1]