1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-10 04:22:05 +03:00

some UdpContext fixes, add rx callback support

Set udp destination address, port, and multicast TTL only on send.
Fix read method to return -1 if buffer is empty.
This commit is contained in:
Ivan Grokhotkov
2015-05-12 17:52:22 +03:00
parent 8b114a551e
commit 25d814bdfb
2 changed files with 47 additions and 13 deletions

View File

@ -21,7 +21,8 @@
*/
#define LWIP_INTERNAL
#include <functional>
extern "C"
{
#include "include/wl_definitions.h"