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: address@hidden
Subject: Re: [lwip-users] UDP and 1 byte payloads
Date: Thu, 18 Jun 2009 17:55:45 +0200
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

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




reply via email to

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