Explorar o código

update: 调大udp的可用PCB数量

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
057da6db95
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/network/lwip2.1.3/include/lwipopts.h

+ 1 - 0
src/network/lwip2.1.3/include/lwipopts.h

@@ -31,6 +31,7 @@
 
 #define MEM_SIZE                        (8 * 1024)
 #define MEMP_NUM_SYS_TIMEOUT            (16)
+#define MEMP_NUM_UDP_PCB 8
 
 /**
  * TCP_WND: The size of a TCP window.  This must be at least