> >unsigned char *rxBuffer; > >rxBuffer = NutHeapAlloc(256); > > >switch(ret=NutUdpReceiveFrom(udpClient,&ClientAddress,&ClientPort,rxBuffer,sizeof(RxBuffer),4000)) At least sizeof(rxBuffer) should be replaced by 256. Regards, Harald