lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] UDP and 1 byte payloads


From: Kieran Mansley
Subject: Re: [lwip-users] UDP and 1 byte payloads
Date: Thu, 18 Jun 2009 16:31:17 +0100

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]