On Thu, 2009-06-18 at 10:52 -0400, 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);

They should both work.  The wireshark capture would be interesting.

Kieran



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

Reply via email to