Thanks a lot to all of you for your answers. I changed it to int* data = 0xFF; tcp_write(pcb, &data,1,1);
and now it works just perfect. I get a single byte as data in the TCP Packet with an ff.
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users