[En-Nut-Discussion] NutUdpReceiveFrom blocks in a thread

Harald Kipp harald.kipp at egnite.de
Fri May 28 13:37:25 CEST 2010


Hi Coleman,

On 27.05.2010 15:43, Coleman Brumley wrote:
> char buff[1500];           //on the heap
>          n=NutUdpReceiveFrom(s,&fromaddr,&fromport,&buff,sizeof(buff),1);

Try

 n=NutUdpReceiveFrom(s,&fromaddr,&fromport,buff,sizeof(buff),1);

(without address modifier for the buff pointer)

Harald



More information about the En-Nut-Discussion mailing list