Bill Auerbach wrote:

Shouldn’t the following work?

p = pbuf_alloc(PBUF_TRANSPORT, 1, PBUF_POOL);

udp_sendto(pcb, p, ipAddr, port);

Wireshare shows a mal-formed packet. The following does work.

p = pbuf_alloc(PBUF_TRANSPORT, 2, PBUF_POOL);

udp_sendto(pcb, p, ipAddr, port);

Bill


Bill, I think I remember you said you are using custom checksum routines or even -hardware. It would be interesting if that is the reason for the malformed packet or if it is still malformed when you use the default implementation.

Simon


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to