|
From: | Bill Auerbach |
Subject: | [lwip-users] UDP and 1 byte payloads |
Date: | Thu, 18 Jun 2009 10:52:13 -0400 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |